Can we have multiple classes in a single file?


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

Post New Answer

More Core Java Interview Questions

When do I need to use reflection feature in java?

0 Answers  


How do you start a new line in java?

0 Answers  


Hi Friends, Can u give few interview questions which relates ArrayList and Hashmap. I mean how to link ArrayList and HashMap.I know this is not good way of asking questions like this , but i need

1 Answers   Microsoft, Wipro,


What are the restrictions that are applied to the java static methods?

0 Answers  


static inner classes means..?

1 Answers  






Is array size fixed in java?

0 Answers  


Why java doesn’t support multiple inheritances?

0 Answers  


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

0 Answers  


How to sort array of 0 and 1 in java?

0 Answers  


Can we instantiate interface in java?

0 Answers  


Is JRE required to compile Java files ?

4 Answers   HCL,


What is the argument type of main() method?

2 Answers  


Categories