Can a class be private or protected in java?


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

Post New Answer

More Core Java Interview Questions

Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?

2 Answers  


write a program to create an vector and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


Create a form of user Login in JSP, that accepts the user name and password from user and authenticate it with user names and passwords stored in database. (Plz provide me answer immediately)

1 Answers   ABC,


How do you format in java?

0 Answers  


what is difference between set and list in collection?

3 Answers   Satyam,


What is a variable analysis?

0 Answers  


What is complexity in java?

0 Answers  


List some features of the abstract class.

0 Answers  


How do weakhashmap works?

0 Answers  


What are library required to connect to excel sheet.

2 Answers   Cap Gemini,


write a program to create an arraylist and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


What are Encapsulation, Polymorphism and Inheritance?

5 Answers  


Categories