Can we have multiple public classes in a java source file?


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

Post New Answer

More Core Java Interview Questions

What is null statement?

0 Answers  


what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


Can we define a package statement after the import statement in java?

0 Answers  


Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance

2 Answers  






can you create interface instance ?

54 Answers   Fidelity, TCS,


Explain purpose of sleep() method in java?

0 Answers  


In Inheritance if we are implementing Multi level inheritance and all class having same name of variable and now i want to access each class variable and how it is possible?

2 Answers  


What restrictions are placed on method overloading in java programming?

0 Answers  


why top level class could not be static

3 Answers   L&T,


What do you understand by the term singleton?

0 Answers  


What are different exception types exceptions available in java ?

0 Answers  


Categories