- What is the difference between JDK, JRE, and JVM?
- What is the difference between an abstract class and an interface?
- What are the different access modifiers in Java?
- What is the difference between a checked and an unchecked exception?
- What is the difference between a HashMap and a TreeMap?
- What is the difference between a static and non-static method?
- What is the difference between a stack and a queue?
- What is the difference between overloading and overriding?
- What is the purpose of the 'finally' block in Java?
- What is a thread in Java? How do you create and start a thread? It is important to note that the interview questions may vary depending on the specific role and project requirements. It is always a good idea to prepare for a variety of questions and be ready to discuss your experience and projects in detail.
2- Difference between local and instance variable.
3- write a code to reverse the string
4- internal working of HashMap
5- What is serialization
6- Explain lambda expression
7- Advantages of springboot
8- Difference between == and . equalsTo
9- Difference between unique key and primary key
10- Difference between method overriding and method overloading with example
11- Types of access specifiers
12- Use of this keyword
13- Explain different springboot annotations
14- Explain exception hierarchy
15- what is index and view
16- difference between extending thread class and runnable interface.
17-why we use static in main method
18- Spring Mvc flow
19- How can we avoid null pointer exception
20- What is session and session factory
Explain the functionality of linked list.
What are the four basic principles of OOPS?
What is inheritance?
What is the way of inheriting variable of one class to any other class?
What is Polymorphism?
What are the different types of inheritance?
What is the difference between classes and interface?
What is software development life-cycle?
What is normalization of databases, joins, and keys?
What are loops?
List different advantages of DBMS
What is Database Management System?
What is database Schema?
What are the conditional statements?
What is the difference between the foreign key and reference key?
The structural difference between bitmap and b-tree index?
What is the difference between a Clustered index and non-clustered index?
Differentiate between socket and session?
What is an array?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions.
Define Data Abstraction. What are their importance?
Write a function to swap two numbers without using a temporary variable.
what is virtual function and pure virtual function?
参考