About Question enthuware.ocajp.i.v7.2.1244 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Dreamweaver
Posts: 32
Joined: Mon Dec 29, 2014 4:14 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.1244 :

Post by Dreamweaver »

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.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.1244 :

Post by admin »

Yes, it will work even at run time.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests