Core Java interview
- 16 February
Java Multithreading and Concurrency Interview Questions
In this tutorial, we are going to see Multithreading interview questions with answers. Here is list of Java Multithreading interview questions. Java multithreading interview questions 1. What is thread in java? Answer: Thread can be called as light weight process. It can be referred as smallest part of process which can be executed concurrently with […]
- 15 July
Java String Interview questions and answers
In this post, we will see interview questions on java String. String is most important data type which we use in our programs very often. 1. Why String is declared final or immutable in java? There are various reasons to make String immutable. String pool Thread Safe Security Class Loading Cache hash value You can […]
- 06 June
Top 10 Java tricky interview questions
In this tutorial, we will see top 10 Java interview questions. If you can solve these questions, it will help you to understand java programming better.You can also go through top 50 core java interview questions and answers. Question 1: What will be the output of below program: [crayon-62b8e4c4cec45457919245/] Question 2: Guess the output of below […]
- 01 March
Java OOPS interview questions and answers
In this post, we will see most important Oops interview questions in java. 1. What are some core concepts of OOPS in java? Core concepts of OOPs are : Polymorphism Abstraction Encapsulation Inheritance 2. What is Abstraction? Abstraction is a concept of showing only important information and hiding its implementation.This is one of the most […]
- 12 April
Java Collections interview questions and answers
In this post, I am going to share some of logical java Collections interview questions which will help to understand Collections concepts better. For an extensive list of java programs, please go to Java interview programs. Question 1: What can be output of below code : [crayon-62b8e4c4cf3a2315075925/] options are : A)France France India B)India India […]
- 14 July
Core java interview questions and answers
Core java interview questions play a vital role in java/j2EE interviews. Whether you are fresher or experienced, you are going to face core java interview questions. You can also go through top java interview programs for practicing java programs. Here I am providing some important core java interview questions with answers. 1. What do you […]
- 10 June
Java Interview Programs for Freshers
In this tutorial, we will see Java interview programs for freshers. This interview programs will help freshers to crack Java interview. Here is the list of Top 10 Java interview Programs for Freshers. Question 1: Check if number is odd or even? Answer: It is a very basic question. You need to check remainder value […]
- 01 September
Collectors.groupby example : How to do group by in java
We have already seen some examples on Collectors in previous post. In this post, we are going to see Java 8 Collectors groupby example. Groupby is another feature added in java 8 and it is very much similar to SQL/Oracle. Lets understand more with the help of example: Lets create our model class country as […]
- 21 June
Interface default methods in java 8
In this post, I will introduce default methods in interface which are introduced in Java 8. Have you ever faced a situation, when you created an interface and many classes implemented that interface. Now you need to add new methods to interface. After adding new methods, your java project will be full of compilation errors […]