Sail E0 Webinar
Question
Which of the following is incorrect statement about packages?
Options:
A .  Interfaces specifies what class must do but not how it does.
B .  Interfaces are specified public if they are to be accessed by any code in the program.
C .  All variables in interface are implicitly final and static.
D .  All variables are static and methods are public if interface is defined pubic.
Answer: Option D


All methods and variables are implicitly public if interface is declared public.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers