Why can't we make a class private in java?


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

Post New Answer

More Core Java Interview Questions

What are the different types of methodologies?

0 Answers  


Can we use switch statement with strings?

0 Answers  


Can you declare an interface method static?

0 Answers  


Can a class be defined inside an interface?

0 Answers  


Explain the importance of finally block in java?

0 Answers  


What is string in java?

0 Answers  


What are java methods?

0 Answers  


Difference between method overloading and overriding.

0 Answers  


What is polymorphism and what are the types of it?

0 Answers  


What are the difference between composition and inheritance in java?

0 Answers  


Is multiple inheritance allowed in Java? Why ?

7 Answers  


What is a JAR file?

0 Answers  


Categories