Can a source file contain more than one class declaration?


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

Post New Answer

More Core Java Interview Questions

Write the program numbers into words.For example 2345==two thousand three hundred fourty five

2 Answers   TCS,


What are the types of strings?

0 Answers  


What is java jit compilers?

0 Answers  


Should a main method be compulsorily declared in all java classes?

0 Answers  


Do I need to import java.lang package any time? Why?

1 Answers  






Why wait and notify methods are declared in object class?

0 Answers  


Can an interface be defined inside a class?

0 Answers  


Is sizeof a keyword in java programming?

0 Answers  


What is the largest long allowed by java?

0 Answers  


What do you understand by synchronization?

0 Answers  


How to create an interface?

0 Answers  


What are the main differences between the java platform and other platforms?

0 Answers  


Categories