Java
 Computer >> Computer tutorials >  >> Programming >> Java
  1. How to rethrow an exception in Java?

  2. What are the differences between ClassNotFoundException and NoClassDefFoundError in Java?

  3. How to instantiate member inner class in Java?

  4. How to throw an exception from a static block in Java?

  5. Can a constructor throw an exception in Java?

  6. What are the differences between Widening Casting (Implicit) and Narrowing Casting (Explicit) in Java?

  7. How to create an immutable class with mutable object references in Java?

  8. What is the importance of Java.lang.Class in Java?

  9. What are the differences between tight coupling and loose coupling in Java?

  10. What is the contract between equals() and hashCode() methods in Java?

  11. Why Char[] array is more secure (store sensitive data) than String in Java?

  12. What are unreachable catch blocks in Java?

  13. What are the differences between recursion and iteration in Java?

  14. Can we write any statements between try, catch and finally blocks in Java?

  15. What are the differences between compareTo() and compare() methods in Java?

  16. What are the differences between import and static import statements in Java?

  17. How many types of anonymous inner classes are defined in Java?

  18. Can we write any code after throw statement in Java?

  19. What is an OutOfMemoryError and steps to find the root cause of OOM in Java?

  20. What are the differences between protected and default access specifiers in Java?

Total 1890 -Computer  FirstPage PreviousPage NextPage LastPage CurrentPage:8/95  20-Computer/Page Goto:1 2 3 4 5 6 7 8 9 10 11 12 13 14