what is the difference between the "protected and default"
modifiers?

Answer Posted / abcd

Is it possible to mark a class as Protected?? i guess the
answer posted by Mythili is wrong.. thgh we can interpret
it using protected methods..

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the importance of throws keyword in java?

569


What is the symbol for average?

520


Can you write a java class that could be used both as an applet as well as an application?

519


java Technical questions asked by JPMC

4574


Is there any difference between synchronized methods and synchronized statements?

586






What is preflight request?

532


Explain hashset and its features?

583


What are the escape sequences in java?

565


Explain super keyword in java.

585


Can vector have duplicates in java?

509


What is OOP's Terms with explanation?

608


Can we override static methods in java?

591


Is java 11 paid version?

514


What java is used for?

660


What are the steps in the jdbc connection?

574