Being in IT industry for almost 15 years, I have come across some most important Core Java Interview questions, which are frequently asked in most of the interviews by MNCs. Based on my experience, I have tried to provide answers in easy words and point to point. This is first set of C...
Here I am providing some of the important core java interview questions with answers that you should know. You can bookmark this post to brush up on your knowledge before heading for an interview. 1. Name some important features of the Java 14 release? Java 14 was released on March 17, ...
You can get the current time in milliseconds in Java using System.currentTimeMillis() method. It returns the current time in milliseconds since January 1, 1970 (UNIX epoch time). Difference between a static and a non-static inner class? A static inner class is associated with its outer clas...
Core Java Interview Questionsposting java interview questions
In this post we will look into the most commonly asked Interview questions related to Java. We will take a look at the most common topics in Java for interviews and provide the answer to the questions in detail with examples to help you ace your next interview. We recommend following this...
Top 25 Java Interview Questions : 1. Which two method you need to implement for key Object in HashMap ? In order to use any object as Key in HashMap, it must implements equals and hashcode method in Java. ReadHow HashMap works in Javafor detailed explanation on how equals and hashcode...
Hi Friends, In this article, we have shared 100+ java interview questions for both beginners and experienced folks. If you are a java beginner, I highly recommend you to checkout my java tutorial. Table of Contents Basic Questions OOPs interview Question
check here10 Interview questions on Singleton Pattern in Java 12. Can you write code for iterating over hashmap in Java 4 and Java 5 ? Tricky one but he managed to write using while and for loop. 13. When do you override hashcode and equals() ?
Another good Java interview question, I think answer is not sufficient but here it is “Substring creates new object out of source string by taking a portion of original string”. see my postHow SubString works in Javafor detailed answer of this Java question. ...
Chapter 7: Java Concurrency util Chapter 8: Java Serialization Chapter 9: Java Exception Handling Chapter 10: Java 8 Chapter 11: String Handling 11.1: String Methods 11.2: String Programs Chapter 12: Java IO Chapter 13: Memory Chapter 14: Java Interview Programs Chapter 15: Interview Questions ...