500 Java Objective Questions and Answer
300 Core java interview questions 1. Can a main() method of class be invoked in
another class?
2. What is the difference between java command line arguments and C
command line arguments?
3. What is the difference between == & .equals().
4. What is the difference between abstract class & Interface.
5. What is singleton class & how you can implementation
it?.
6. What is use of static, final variable?
7. Examples of final class.
8. What is difference between Event propagation & Event delegation?
9. What is difference between Unicast & Multicast model?
10. What is a java bean?
11. What is use of synchronized keyword?
12. What are the restrictions of an applet & how to make
the applet access the local machines resources?
13. What is reflect package used for & the methods of
it?
14. What is use of serialization?
15. Can methods be overloaded based on the return types ?
16. Why do we need a finalize() method when Garbage Collection is there ?
17. Difference between AWT and Swing components ?
18. Is there any heavy weight component in Swings ?
19. Can the Swing application if you upload in net, be compatible with
your browser?
20. What should you do get your browser compatible with swing components?
21. What are the methods in Applet ?
22. When is init(),start() called ?
23. When you navigate from one applet to another what are the methods
called?
24. What is the difference between Trusted and Untrusted Applet ?
25. What is Exception ?
26. What are the ways you can handle exception ?
27. When is try, catch block used ?
28. What is finally method in Exceptions ?
29. What are the types of access modifiers ?
30. What is protected and friendly ?
31. What are the other modifiers ?
32. Is synchronized modifier ?
33. What is meant by polymorphism ?
34. What is inheritance ?
35. What is method Overloading ? What is this in OOPS ?
36. What is method Overriding ? What is it in OOPS ?
37. Does java support multi dimensional arrays ?
38. Is multiple inheritance used in Java ?
39. How do you send a message to the browser in JavaScript ?
40. Does JavaScript support multidimensional arrays ?
41. Is there any tool in java that can create reports ?
42. What is meant by Java ?
43. What is meant by a class ?
44. What is meant by a method ?
45. What are the OOPS concepts in Java ?
46. What is meant by encapsulation ? Explain with an example.
47. What is meant by inheritance ? Explain with an example.
48. What is meant by polymorphism ? Explain with an example.
49. Is multiple inheritance allowed in Java ? Why ?
50. What is meant by Java interpreter ?
More>>
500 Java Objective Questions and Answer
|