8. When to use abstract class and interface in Java? (Use interface for type declaration, use abstract class if evolution is concern, for few more points, seethispost) 9. Difference betweenHashtableandHashMapin Java? (former is thread-safe and doesn't allow null, later is not thread-safe...
JSP is an integral part of Java EE. If you are giving an interview for a web developer, then having good knowledge of JSP is very important. This post contains a list of 35 JSP interview questions with answers. Please make sure to bookmark it because I will be kept on adding more to...
Advanced Java Interview Questions and Answers101. What is the difference between Swing and AWT components?AWT components are heavy-weight, whereas Swing components are lightweight. Heavy weight components depend on the local windowing toolkit. For example, java.awt.Button is a heavy weight component...
7. What are the important features of the Java 8 release? Java 8 has been released in March 2014, so it’s one of the hot topics in java interview questions. If you answer this question clearly, it will show that you like to keep yourself up-to-date with the latest technologies. Jav...
This core Java question is followup of previous question and expecting candidate to write Java singleton using double checked locking. Remember to use volatile variable to make Singleton thread-safe. check 10 Interview questions on Singleton Pattern in Java for more details and questions answers ...
Java interview questions can be an intimidating part of the software development job interview process. Here's a guide for junior and senior developers.
Since last year I received so many emails (weekly more than 10 emails) asking about why not to post Java Interview Questions and answers for readers.
Overall, Java is a popular programming language, coming in second place in both the TIOBE and PYPL rankings for popularity. The top tech companies in the world, including LinkedIn, Twitter, PayPal, Amazon and others, construct their web applications and backend web systems using Java. Another po...
be. As remote tech recruiters, we have interviewed Java developers for more than a decade. In this article, you’ll learn the keyinterview questions to ask an entry-level and senior Java developer, that will guide you in your interview process, whether you are an employer or a job seeker...
Here are 10 of the most common and important Java garbage collection interview questions that any technicalDevOps engineer or developerapplicant must be ready to answer. 1. Why is garbage collection necessary in Java? In many programming languages, such asC and C++,when an object is no longer ...