Re: About Question enthuware.ocajp.i.v7.2.1244 :
Posted: Wed Sep 16, 2020 9:18 am
can it be corrected like this? (I try it and run)
The line //1 will be allowed during compilation, since assignment is done from a subclass reference to a superclass reference.
The line //1 will be allowed during compilation and run time, since assignment is done from a subclass reference to a superclass reference.
The line //1 will be allowed during compilation, since assignment is done from a subclass reference to a superclass reference.
The line //1 will be allowed during compilation and run time, since assignment is done from a subclass reference to a superclass reference.