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

what is meant by UP& DOWN casting in java?

6 Answers  


What are the different ways of implementing thread? Which one is more advantageous?

0 Answers  


How will you communicate between two applets?

0 Answers  


What are three ways in which a thread can enter the waiting state in java programming?

0 Answers  


Explain about java sdk?

0 Answers  






What is a consumer in java?

0 Answers  


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

0 Answers  


What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


What is unicode used for?

0 Answers  


what is mutability?which one is mutable String or StringBuffer?and why?give examples of each which shows the mutability of each String or StringBuffer

4 Answers   IBM, Zenon,


Which types of exceptions are caught at compile time?

0 Answers  


What is object data type?

0 Answers  


Categories