Can we have multiple classes in single file ?


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

Post New Answer

More Core Java Interview Questions

which class is the wait() method defined in? : Java thread

0 Answers  


Describe 2 different ways to concatenate two strings.

0 Answers   TCS,


Does the order of public and static declaration matter in main method?

0 Answers  


Name few java.lang classes introduced with java 8 ?

0 Answers  


What is static synchronization?

0 Answers  






Where to store local variables?

0 Answers   Aspiring Minds,


What is the difference between heap and stack memory?

0 Answers  


Can we override protected method in java?

0 Answers  


can write code for serialization ?

1 Answers   HCL, MegaSoft,


What is map and hashmap? also tell the difference.

1 Answers  


how can u create the object with out new operator

2 Answers  


Does constructor creates the object ?

0 Answers  


Categories