Filter interviews by
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
A trigger in SQL is a set of actions that are automatically performed when a specified event occurs.
Triggers are used to enforce business rules, maintain data integrity, and automate tasks.
They can be defined to execute before or after an INSERT, UPDATE, or DELETE operation.
Triggers can be written in SQL or PL/SQL.
Example: A trigger can be created to update a 'last_modified' column whenever a row is updated in a table.
They will give you use case to develop API's for banking project
Java program to check if a number is prime
Create a function that takes an integer as input
Check if the number is less than 2, return false
Iterate from 2 to the square root of the number, check for divisibility
If the number is divisible by any number, return false
Otherwise, return true
A prime number is a number greater than 1 that can only be divided by 1 and itself.
Prime numbers are integers greater than 1
They have only two factors: 1 and the number itself
Examples of prime numbers: 2, 3, 5, 7, 11, 13
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, member variables, and methods, while interface cannot.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes to impl...
Abstract classes can have both implemented and abstract methods, while interfaces can only have abstract methods. Abstract classes support single inheritance, interfaces support multiple inheritance.
Abstract classes can have both implemented and abstract methods, providing more flexibility in design.
Interfaces can only have abstract methods, promoting a more strict contract for implementing classes.
Abstract classes sup...
JVM stands for Java Virtual Machine, which is an abstract machine that enables a computer to run Java programs.
JVM is responsible for converting Java bytecode into machine code that can be executed by the computer's operating system.
It provides a platform-independent execution environment for Java programs.
JVM manages memory, handles garbage collection, and provides security features for Java applications.
Examples of J...
Inheritance in JAVA allows a class to inherit properties and behaviors from another class.
Allows a class to inherit fields and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Example: class B extends class A
HashMap is not thread-safe and allows null keys/values, while ConcurrentHashMap is thread-safe and does not allow null keys/values.
HashMap is not thread-safe and can lead to ConcurrentModificationException if modified while iterating.
ConcurrentHashMap uses internal locking mechanisms to provide thread-safety.
ConcurrentHashMap does not allow null keys/values, while HashMap does.
ConcurrentHashMap is more suitable for con
Method overloading is when multiple methods in a class have the same name but different parameters.
Allows multiple methods with the same name but different parameters in a class
Parameters can differ in number, type, or order
Compile-time polymorphism
Example: void print(int a) and void print(String s)
Method overloading allows defining multiple methods with the same name but different parameters.
Methods must have different parameter types or number of parameters.
Return type does not matter for method overloading.
Example: void print(int num) and void print(String text) are valid overloads.
JVM optimizes method calls using various techniques like inlining, escape analysis, and virtual method resolution.
JVM can inline methods by replacing the method call with the actual code, reducing overhead.
Escape analysis helps JVM determine if objects can be allocated on the stack instead of the heap.
Virtual method resolution optimizes method calls by caching the resolved method to avoid repeated lookups.
based on 2 interviews
Interview experience
based on 2 reviews
Rating in categories
Software Developer
20
salaries
| ₹3 L/yr - ₹9 L/yr |
Java Developer
19
salaries
| ₹1 L/yr - ₹7.1 L/yr |
Plsql Developer
14
salaries
| ₹4.7 L/yr - ₹8.9 L/yr |
Software Engineer
13
salaries
| ₹4 L/yr - ₹9.6 L/yr |
Senior Software Engineer
11
salaries
| ₹6 L/yr - ₹10 L/yr |
Accel Frontline
Northcorp Software
Elentec Power India (EPI) Pvt. Ltd.
HyScaler