Filter interviews by
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain data in the form of fields (attributes) and code in the form of procedures (methods).
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Examples of OOPS languages include Java, C++, and Python.
Encapsulation, polymorphism, and inheritance are key concepts in Java OOP.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class). Access to the data is restricted to methods within the class.
Polymorphism: Ability of a single method to perform different actions based on the object it is acting upon. Achieved through method overloading and overriding.
Inheritance: Mechanism where a ne...
Exceptions - try with resources is a Java feature that automatically closes resources after they are no longer needed.
Try with resources is a Java feature introduced in Java 7 to automatically close resources like streams, connections, etc. after they are no longer needed.
It simplifies the code by reducing the need for explicit resource management and ensures that resources are closed properly even if an exception occu...
Multithreading is the ability of a CPU to execute multiple threads concurrently. Callable interface is similar to Runnable interface but can return a result and throw a checked exception.
Multithreading allows multiple threads to run concurrently, improving performance and responsiveness.
Callable interface in Java is similar to Runnable interface but can return a result and throw a checked exception.
Example: ExecutorSer...
HashMap is not thread-safe while ConcurrentHashMap is thread-safe. ConcurrentHashMap is preferred for concurrent operations.
HashMap is not thread-safe and can lead to ConcurrentModificationException in a multi-threaded environment.
ConcurrentHashMap allows concurrent read and write operations without the need for external synchronization.
ConcurrentHashMap achieves thread-safety by dividing the map into segments, allowin...
Top trending discussions
posted on 12 Jun 2024
I applied via Recruitment Consulltant and was interviewed in Oct 2021. There were 3 interview rounds.
I applied via Walk-in and was interviewed before Aug 2022. There were 3 interview rounds.
Business Head
28
salaries
| ₹2.6 L/yr - ₹4.5 L/yr |
Medical Representative
18
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Regional Sales Manager
17
salaries
| ₹6.8 L/yr - ₹12 L/yr |
Area Sales Manager
13
salaries
| ₹4.2 L/yr - ₹7.2 L/yr |
Medical Sales Representative
6
salaries
| ₹3 L/yr - ₹4 L/yr |
Apollo Hospitals
Fortis Healthcare
Max Healthcare
Manipal Hospitals