Filter interviews by
Encapsulation and Inheritance are two important OOPs concepts.
Encapsulation is the process of binding data and functions that manipulate that data together in a single unit, called a class.
Inheritance is the process of creating a new class by inheriting properties and methods from an existing class.
Encapsulation helps in data hiding and abstraction, which makes the code more secure and easy to maintain.
Inheritance...
String buffer is synchronized and thread-safe while string builder is not.
String buffer is slower than string builder due to synchronization.
String builder is faster but not thread-safe.
String buffer is preferred for multi-threaded applications.
String builder is preferred for single-threaded applications.
Both classes are used for manipulating strings efficiently.
try-catch-finally is used for handling exceptions in code.
try block contains the code that may throw an exception
catch block catches the exception thrown by try block
finally block contains code that will be executed regardless of exception
Multiple catch blocks can be used for handling different types of exceptions
Final keyword is used to declare a constant value that cannot be changed.
Final keyword can be used with variables, methods, and classes.
Final variables must be initialized at the time of declaration or in constructor.
Final methods cannot be overridden by subclasses.
Final classes cannot be extended by other classes.
Final keyword is also used in try-with-resources statement to declare resources that should be closed...
ArrayList is a dynamic data structure while Array is a static data structure.
ArrayList can grow or shrink dynamically while Array has a fixed size.
ArrayList can store objects of any type while Array can only store elements of the same data type.
ArrayList provides built-in methods for insertion, deletion, and searching while Array does not.
Example: ArrayList<String> names = new ArrayList<String>(); Stri...
Checked exceptions are checked at compile-time while unchecked exceptions are not.
Checked exceptions are those that are checked at compile-time and must be handled or declared in the method signature.
Unchecked exceptions are those that are not checked at compile-time and do not need to be handled or declared in the method signature.
Examples of checked exceptions include IOException, ClassNotFoundException, and SQL...
Thread creation involves initiating a new thread of execution in a program, allowing concurrent operations.
Threads can be created using the Thread class in Java: new Thread(() -> { /* code */ }).start();
In Python, use the threading module: threading.Thread(target=some_function).start() to create a new thread.
C++11 introduced std::thread for thread creation: std::thread t([] { /* code */ }); t.join();
Thread crea...
An object is an instance of a class. A class is a blueprint or template for creating objects.
A class defines the properties and behaviors of objects
An object is created from a class using the 'new' keyword
Multiple objects can be created from a single class
Classes can inherit properties and behaviors from other classes
Example: Class - Car, Object - Honda Civic
I applied via Referral and was interviewed in Apr 2021. There were 3 interview rounds.
Encapsulation and Inheritance are two important OOPs concepts.
Encapsulation is the process of binding data and functions that manipulate that data together in a single unit, called a class.
Inheritance is the process of creating a new class by inheriting properties and methods from an existing class.
Encapsulation helps in data hiding and abstraction, which makes the code more secure and easy to maintain.
Inheritance help...
Thread creation involves initiating a new thread of execution in a program, allowing concurrent operations.
Threads can be created using the Thread class in Java: new Thread(() -> { /* code */ }).start();
In Python, use the threading module: threading.Thread(target=some_function).start() to create a new thread.
C++11 introduced std::thread for thread creation: std::thread t([] { /* code */ }); t.join();
Thread creation ...
An object is an instance of a class. A class is a blueprint or template for creating objects.
A class defines the properties and behaviors of objects
An object is created from a class using the 'new' keyword
Multiple objects can be created from a single class
Classes can inherit properties and behaviors from other classes
Example: Class - Car, Object - Honda Civic
Checked exceptions are checked at compile-time while unchecked exceptions are not.
Checked exceptions are those that are checked at compile-time and must be handled or declared in the method signature.
Unchecked exceptions are those that are not checked at compile-time and do not need to be handled or declared in the method signature.
Examples of checked exceptions include IOException, ClassNotFoundException, and SQLExcep...
try-catch-finally is used for handling exceptions in code.
try block contains the code that may throw an exception
catch block catches the exception thrown by try block
finally block contains code that will be executed regardless of exception
Multiple catch blocks can be used for handling different types of exceptions
String buffer is synchronized and thread-safe while string builder is not.
String buffer is slower than string builder due to synchronization.
String builder is faster but not thread-safe.
String buffer is preferred for multi-threaded applications.
String builder is preferred for single-threaded applications.
Both classes are used for manipulating strings efficiently.
Final keyword is used to declare a constant value that cannot be changed.
Final keyword can be used with variables, methods, and classes.
Final variables must be initialized at the time of declaration or in constructor.
Final methods cannot be overridden by subclasses.
Final classes cannot be extended by other classes.
Final keyword is also used in try-with-resources statement to declare resources that should be closed afte...
ArrayList is a dynamic data structure while Array is a static data structure.
ArrayList can grow or shrink dynamically while Array has a fixed size.
ArrayList can store objects of any type while Array can only store elements of the same data type.
ArrayList provides built-in methods for insertion, deletion, and searching while Array does not.
Example: ArrayList<String> names = new ArrayList<String>(); String[] ...
Top trending discussions
posted on 6 Nov 2015
I applied via Referral and was interviewed in Jul 2023. There were 4 interview rounds.
String , Array ,Collection framework related questions.
Ecommerce site with Login,Review,AddToCart,Order features,Filter features.
I applied via LinkedIn and was interviewed in Apr 2023. There were 3 interview rounds.
Todo application javascript todo app creation needs to submit
I appeared for an interview in Jun 2023.
I applied via Company Website and was interviewed in Jul 2023. There were 4 interview rounds.
I have given the coding test in python language. Out of 5 questions, we have to attain a minimum of 3 questions.
I appeared for an interview in Apr 2025, where I was asked the following questions.
posted on 18 Jun 2022
I applied via Approached by Company and was interviewed before Jun 2021. There was 1 interview round.
Address client concerns with empathy, provide updates, and propose solutions to regain their confidence in the project.
Acknowledge the client's feelings: 'I understand your concerns about the progress.'
Provide a clear update on the current status of the project, including any challenges faced.
Discuss the reasons for the delays and how they were addressed, e.g., 'We encountered unexpected technical issues, but we are ac...
posted on 9 Sep 2020
I applied via LinkedIn and was interviewed in Aug 2020. There were 3 interview rounds.
posted on 29 Nov 2022
I applied via Approached by Company and was interviewed before Nov 2021. There were 2 interview rounds.
Array and OOPS concept. Given set of questions to solve with each oops concept
Inheritance in car model refers to the ability of a new car model to inherit features and characteristics from an existing car model.
Inheritance allows for the creation of a new car model that shares common features with an existing car model
The new car model can add or modify features inherited from the existing car model
For example, a new sports car model can inherit features from a base car model such as engine, tra...
based on 1 interview experience
based on 38 reviews
Rating in categories
Associate Consultant
41
salaries
| ₹2.8 L/yr - ₹5.5 L/yr |
SAP Abap Consultant
25
salaries
| ₹3 L/yr - ₹7.3 L/yr |
Professional Consultant
25
salaries
| ₹4.2 L/yr - ₹14.8 L/yr |
Software Developer
22
salaries
| ₹5 L/yr - ₹9.5 L/yr |
Associate Software Developer
15
salaries
| ₹3 L/yr - ₹4 L/yr |
HyScaler
Pitney Bowes
AvenData GmbH
Dataflow Group