1. What happens when a main method is declared as private?
2. In which way does a Primitive data type is passed?
3. Explain pass by reference and pass by value?
4. How is serialization used generally?
5. What is overriding and how can it be used?
6. Is there is any error if you have multiple main methods in the same class?
7. Explain the term serialization?
8. Java support what type of parameter passing?
9. By what default value is an object reference declared as an instance variable?
10. How can final class be used?
11. What is an abstract class?
12. hash Code and equals methods relation
13. synchronization (wait All, wait, notify)
14. difference between checked and unchecked exceptions
15. Difference between keywords final/finally/finalize
16. GOF patterns (Singleton, and Double check singleton)
17. Difference between Linked List and Array List, Tree Map and Hash Map
18. hash Code and equals methods relation
19. synchronization (wait All, wait, notify)
20. difference between checked and unchecked exceptions
21. Difference between keywords final/finally/finalize
22. GOF patterns (Singleton, and Double check singleton)
23. Difference between Linked List and Array List, Tree Map and Hash Map
24. Strings
25. Difference between String s= “ Hello” and String s = new String (“ Hello”)
26. Will the below expression becomes true?
27. if( s == s)
28. write a program to remove duplicates from an array ( using single loop)
29. write a program to reverse a string without using any API
30. difference between throws and throw keywords
31. What is caching in hibernate Difference between st level and nd level caching
32. Difference between abstraction and encapsulation? how you use it in your project
33. how you optimize the code for jdbc
34. How to prevent your class from being subclasses?
35. Can we override Static method in Java? Compilation error?
36. Why String is immutable in Java?
37. Which two methods is overridden by an Object, intended to be used as key in...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.