This is the second part of 100 Java Interview questions and answers. If you still haven't watched the first part then please watch ( • Top 100 Java Interview Questions and Answers ). Please checkout the playlist as well which covers most common Java coding interview question and answers for freshers
Subscribe Channel : / @codingglitz
Check out some related videos:
Top 100 Java Interview Questions and Answers Part1 : • Top 100 Java Interview Questions and Answers
Java Tricky and Important Interview questions and answers : • Java Tricky and Important Interview questi...
Top 30 SQL Queries Interview Question and answers : • SQL Queries Interview Questions and answers
Top 50 SQL Theory Interview Questions and answers : • SQL Interview Questions And Answers
SQL Tricky and Important Interview Questions and Answers : • SQL Tricky and Important Interview Questio...
How To Prepare For Interviews : • How To Prepare For Interviews || Job Inter...
Checkout the below playlists:
JAVA interview questions and answers : • JAVA Programs for interview
SQL interview questions and answers : • sql interview questions and answers in Hindi
API TESTING USING POSTMAN: • Playlist
IT Essentials and Tricks: • IT Essentials and Tricks
Click on the timestamp to navigate to the particular question:
51. What is a marker interface? (00:25)
52. Can we define private and protected modifiers for the members in interfaces? (00:44)
53. How to make a read-only class in Java? (00:57)
54. What are the differences between abstract class and interface? (1:57)
55. What are the advantages of Encapsulation in Java? (3:45)
56. How many types of exception can occur in a Java program? (4:39)
57. What is Exception Handling? (5:46)
58. What is the base class for Error and Exception? (6:29)
59.Explain the hierarchy of Java Exception classes? (6:35)
60. Is it necessary that each try block must be followed by a catch block? (7:32)
61. Exception Handling Output? (8:18)
62. What is finally block? (09:24)
63. Can finally block be used without a catch? (10:28)
64. Is there any case when finally will not be executed? (10:38)
65. What is the difference between throw and throws? (10:52)
66. Exception Handling Output? (12:09)
67. Exception Handling Output? (12:36)
68. Can a class have an interface? (13:42)
69. Why interface methods are always public and abstract? (13:50)
70. Why Interface variables are always public , static and final ? (15:13)
71. What is String Pool? (15:42)
72. What is the meaning of immutable regarding String? (16:25)
73. How many ways can we create the string object? (16:55)
74. String Output (17:41)
75. String Output (18:46)
76. Differences between String and StringBuffer? (19:36)
77. differences between StringBuffer and StringBuilder? (20:47)
78. What is Garbage Collection? (21:21)
79. How is garbage collection controlled? (22:02)
80. How can an object be unreferenced? (22:20)
81. What is the purpose of the finalize() method (23:12)
82.Can an unreferenced object be referenced again? (24:00)
83. What kind of thread is the Garbage collector thread? (24:06)
84. What is the difference between final, finally and finalize (24:11)
85. What is Autoboxing? (25:08)
86. What is the purpose of using java.lang.Class class? (25:19)
87. What is serialization? (25:33)
88. What is Deserialization? (26:10)
89. What is multithreading? (26:22)
90. What is the thread? (26:54)
91. Can abstract method be declared with private modifier? (27:19)
92. Is it possible to create an object of Abstract Class / Interface ? (27:42)
93. Can an Interface be final ? (27:51)
94. Can Interface have constructor.? (28:05)
95. Can Abstract Class have constructor? (28:17)
96. What is the Collection framework in Java? (28:24)
97. What part of memory - Stack or Heap - is cleaned in garbage collection process? (29:06)
98.Can you call a constructor of a class inside the another constructor? (29:15)
99. What is a copy constructor in Java? (29:24)
100. What are the differences between JVM, JRE and JDK in Java? (29:47)