About Question enthuware.ocpjp.i.v11.2.3042 :

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

Moderator: admin

Post Reply
hamzaBlm
Posts: 18
Joined: Thu May 23, 2019 11:58 am
Contact:

About Question enthuware.ocpjp.i.v11.2.3042 :

Post by hamzaBlm »

Hi all!

I've selected option 3 which is incorrect.
With classes, it is legal to use a reference variable to invoke a static method of a class or superclass. Why it is illegal to invoke a static method of an interface using a reference variable?

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

Re: About Question enthuware.ocpjp.i.v11.2.3042 :

Post by admin »

Rule of the language.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests