Releventz
Intelerad Interview Questions and Answers
Q1. What is the diff between constructor and method in java
Constructor is a special type of method used to initialize objects, while a method is a block of code that performs a specific task.
Constructor is called when an object is created, while a method is called to perform a specific task.
Constructors do not have a return type, while methods have a return type.
Constructors have the same name as the class, while methods can have any name.
Example: Constructor - public ClassName() { // constructor code } Method - public void methodNam...read more
Q2. What is incident management and problem management
Incident management involves resolving incidents to restore normal service operation, while problem management focuses on identifying and addressing the root cause of recurring incidents.
Incident management is the process of managing and resolving incidents to restore normal service operation as quickly as possible.
Problem management involves identifying the root cause of incidents and implementing permanent solutions to prevent them from recurring.
Incident management focuses...read more
Q3. What will you do when application gets crashed
I will investigate the root cause of the crash, analyze logs, and work on resolving the issue to restore application functionality.
Check application logs for error messages
Identify the root cause of the crash
Work with development team to troubleshoot and fix the issue
Implement temporary workaround if needed
Test the application thoroughly before restoring it to production
Q4. What is JVM, how it works
JVM stands for Java Virtual Machine, it is a virtual machine that enables a computer to run Java programs.
JVM is an abstract computing machine that enables a computer to run Java programs
It provides a runtime environment in which Java bytecode can be executed
JVM manages memory, provides security, and facilitates garbage collection
It translates Java bytecode into machine code that can be executed by the computer's processor
Q5. Diff between static and non-static
Static variables belong to the class itself, while non-static variables belong to instances of the class.
Static variables are shared among all instances of a class
Non-static variables are unique to each instance of a class
Static variables can be accessed without creating an instance of the class
Non-static variables can only be accessed through an instance of the class
Q6. What is JDK JRE JVM
JDK is Java Development Kit, JRE is Java Runtime Environment, and JVM is Java Virtual Machine.
JDK includes tools for developing Java applications.
JRE provides the libraries and components required to run Java applications.
JVM is the runtime environment in which Java bytecode is executed.
Example: JDK includes javac compiler, JRE includes Java libraries, JVM interprets bytecode.
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month