State two differences between C and Java.
What is consumer interface?
How GUI component handle its own events?
How can you say java is object oriented?
What is currentthread()?
What is difference between Iterator and for loop
what is the need of the Ajax?
What is finally in exception handling?
Why you should not use singleton?
Can u overload main()method.Give with example.
6 Answers IBM, Schimatic Technologies,
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What is nan inf?
Explain about anonymous inner classes ?