About Question enthuware.ocpjp.v11.2.1879 :

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

Moderator: admin

Post Reply
hydro_555
Posts: 2
Joined: Wed Sep 28, 2022 12:03 pm
Contact:

About Question enthuware.ocpjp.v11.2.1879 :

Post by hydro_555 »

The last option :

Code: Select all

interface F{   void m(){ } }
Should also be a valid functional interface ? Since

Code: Select all

void m()
is implicilty abstract. Or am I missing something

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

Re: About Question enthuware.ocpjp.v11.2.1879 :

Post by admin »

No, the { } imply that the method has a body, which means, it is not abstract.
Also, check whether it even compiles!
If you like our products and services, please help us by posting your review here.

hydro_555
Posts: 2
Joined: Wed Sep 28, 2022 12:03 pm
Contact:

Re: About Question enthuware.ocpjp.v11.2.1879 :

Post by hydro_555 »

Thank you for your answer

Post Reply

Who is online

Users browsing this forum: No registered users and 98 guests