i
OpenText
Technologies
Filter interviews by
Object-Oriented Programming (OOP) principles include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: A 'Car' class with properties like 'speed' and methods like 'accelerate()'.
Inheritance: Mechanism to create a new class using properties and methods of an existing class. Example: 'ElectricCar' inherits fro...
Find the largest number in an array of strings.
Convert each string in the array to a number using parseInt()
Use Math.max() to find the largest number in the array
The Two Sum problem asks to find two indices in an array that sum up to a target value.
Use a hash map to store the difference between the target and each element.
Iterate through the array and check if the current element exists in the hash map.
If found, return the indices of the two numbers.
Example: For nums = [2, 7, 11, 15] and target = 9, return [0, 1] since nums[0] + nums[1] = 9.
Object-Oriented Programming (OOP) in Java focuses on concepts like classes, objects, inheritance, encapsulation, and polymorphism.
1. Classes and Objects: A class is a blueprint for creating objects. Example: 'class Dog { }' creates a Dog object.
2. Inheritance: Allows a new class to inherit properties and methods from an existing class. Example: 'class Puppy extends Dog { }'.
3. Encapsulation: Bundles data and metho...
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding th...
OOPS in Java is a programming paradigm that emphasizes on objects and their interactions.
OOPS stands for Object-Oriented Programming System
Java is an OOPS language that supports encapsulation, inheritance, and polymorphism
Encapsulation is the process of hiding data and methods within a class
Inheritance allows a subclass to inherit properties and methods from a superclass
Polymorphism allows objects to take on multi...
Collections Framework is a set of classes and interfaces that provide reusable data structures in Java.
It provides interfaces like List, Set, Queue, etc. for storing collections of objects.
It also provides classes like HashMap, TreeMap, etc. for storing key-value pairs.
It simplifies the process of storing and manipulating data in Java programs.
It improves the performance of Java programs by providing efficient dat...
Multithreading in Java allows multiple threads to execute concurrently within a single program.
Multithreading improves performance by allowing multiple tasks to run simultaneously.
Java provides built-in support for multithreading through the Thread class and Runnable interface.
Synchronization is important to prevent race conditions and ensure thread safety.
Examples of multithreading in Java include GUI application...
Exception handling is a mechanism to handle runtime errors in Java programs.
Exceptions are objects that are thrown at runtime when an error occurs
try-catch block is used to handle exceptions
finally block is used to execute code regardless of whether an exception is thrown or not
Java provides built-in exceptions like ArithmeticException, NullPointerException, etc.
Custom exceptions can also be created by extending t...
Find the largest number in an array of strings.
Convert each string in the array to a number using parseInt()
Use Math.max() to find the largest number in the array
The Two Sum problem asks to find two indices in an array that sum up to a target value.
Use a hash map to store the difference between the target and each element.
Iterate through the array and check if the current element exists in the hash map.
If found, return the indices of the two numbers.
Example: For nums = [2, 7, 11, 15] and target = 9, return [0, 1] since nums[0] + nums[1] = 9.
I applied via Campus Placement
Object-Oriented Programming (OOP) in Java focuses on concepts like classes, objects, inheritance, encapsulation, and polymorphism.
1. Classes and Objects: A class is a blueprint for creating objects. Example: 'class Dog { }' creates a Dog object.
2. Inheritance: Allows a new class to inherit properties and methods from an existing class. Example: 'class Puppy extends Dog { }'.
3. Encapsulation: Bundles data and methods th...
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding the imp...
I applied via LinkedIn and was interviewed in Nov 2023. There were 3 interview rounds.
HackerRank - 2 Questions - LinkedList(Medium), HashMap(Medium)
posted on 29 Feb 2024
Basic coding questions
I applied via Campus Placement and was interviewed in Aug 2023. There were 3 interview rounds.
2 coding questions in codility platform
I applied via Campus Placement and was interviewed before Sep 2023. There were 4 interview rounds.
I applied via Campus Placement and was interviewed in May 2023. There were 3 interview rounds.
It was a test of two medium questions
I applied via freshersworld and was interviewed before Dec 2023. There were 2 interview rounds.
Hacker rank medium problems
Object-Oriented Programming (OOP) principles include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: A 'Car' class with properties like 'speed' and methods like 'accelerate()'.
Inheritance: Mechanism to create a new class using properties and methods of an existing class. Example: 'ElectricCar' inherits from 'Ca...
I applied via Campus Placement and was interviewed in Sep 2022. There were 3 interview rounds.
Data Structure and Algorithms, SQL, DBMS
Top trending discussions
based on 11 interview experiences
Difficulty level
Duration
based on 41 reviews
Rating in categories
Software Engineer
1.1k
salaries
| ₹7.5 L/yr - ₹24 L/yr |
Senior Software Engineer
1k
salaries
| ₹12.7 L/yr - ₹39.5 L/yr |
Lead Software Engineer
405
salaries
| ₹16.1 L/yr - ₹50 L/yr |
Associate Software Engineer
391
salaries
| ₹6.8 L/yr - ₹13 L/yr |
Software Developer
254
salaries
| ₹7.3 L/yr - ₹25 L/yr |
Amdocs
Automatic Data Processing (ADP)
24/7 Customer