Which of the following is incorrect statement about packages?

Question:
Which of the following is incorrect statement about packages?

1.Interfaces are specified public if they are to be accessed by any code in the program.

2.All variables in interface are implicitly final and static.

3.Interfaces specifies what class must do but not how it does.

4.All variables are static and methods are public if interface is defined pubic.

Posted Date:-2021-10-25 05:25:44


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!