About Question com.enthuware.ets.scjp.v6.2.526 :

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

Moderator: admin

Post Reply
sidneyoung
Posts: 1
Joined: Mon Sep 14, 2015 1:01 pm
Contact:

About Question com.enthuware.ets.scjp.v6.2.526 :

Post by sidneyoung »

why is it if B extends A...then B is an A
and C Extends B then C is An A
that D extends C but is not an A ?

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

Re: About Question com.enthuware.ets.scjp.v6.2.526 :

Post by admin »

D is certainly a A. But do you see an object of class D anywhere in the code? In other words, does the variable a point to an object see that is-a D ?
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 239 guests