Why can't you declare a class as protected?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the difference between abstract class and interface?

3 Answers   Aspire,


What is void class in java?

0 Answers  


What is the Concept of Encapsulation in OOPS

0 Answers   HCL,


I have 2 objects inside one object(vector). how can i serialize one of them. I dont want to serialize the second one

3 Answers   ABC, L&T,


What is Collections API?

1 Answers  






Explain the importance of finally block in java?

0 Answers  


Which class cannot be a subclass in java?

0 Answers  


How do you write a scanner class in java?

0 Answers  


In the below example, what will be the output?

0 Answers  


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

0 Answers  


Is void a keyword in java?

0 Answers  


Give a practical example of singleton class usage?

0 Answers  


Categories