Filter interviews by
Exception handling in Java involves using try-catch blocks to manage errors gracefully and maintain application stability.
Use try-catch blocks to catch exceptions: try { // code that may throw an exception } catch (ExceptionType e) { // handle exception }
Use finally block for cleanup: try { // code } catch (Exception e) { // handle exception } finally { ...
Microservices communicate via APIs, messaging queues, or event-driven architectures to share data efficiently.
1. RESTful APIs: Services expose endpoints for data retrieval. Example: Service A calls Service B's API to get user details.
2. Messaging Queues: Use tools like RabbitMQ or Kafka for asynchronous communication. Example: Service A sends a message to a queue that Service B listens to.
3. gRPC: A high-performan...
Inner join is used to combine rows from two or more tables based on a related column between them.
Use INNER JOIN keyword in SQL to perform inner join
Specify the columns to join on using ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
For loop is used to iterate over a collection of elements in Java.
Syntax: for(initialization; condition; update) { // code block }
Example: for(int i=0; i<10; i++) { System.out.println(i); }
Exception handling in Java manages runtime errors, ensuring program stability and providing a way to respond to unexpected conditions.
Java uses try, catch, and finally blocks for exception handling.
A try block contains code that may throw an exception.
Catch blocks handle specific exceptions, e.g., catch (IOException e) {}.
Finally block executes regardless of exception occurrence, e.g., finally { cleanup(); }.
Custo...
Collections in Java are frameworks that provide an architecture to store and manipulate a group of objects.
Collections provide interfaces (List, Set, Map) and classes (ArrayList, LinkedList, HashSet, HashMap) to store and manipulate groups of objects.
Collections framework includes algorithms to manipulate data structures like sorting, searching, etc.
Collections are more flexible and efficient than arrays in Java.
E...
A for loop is a control flow statement for executing a block of code repeatedly based on a condition.
Syntax: for(initialization; condition; increment/decrement) { // code block }
Example: for(int i = 0; i < 5; i++) { System.out.println(i); } // prints 0 to 4
Used for iterating over arrays or collections.
Can be nested: for(int i = 0; i < 3; i++) { for(int j = 0; j < 2; j++) { // code block } }
Enhanced for lo...
OOP in Java is a programming paradigm based on objects, enabling code reusability, encapsulation, inheritance, and polymorphism.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: private variables in a class.
Inheritance: Mechanism where one class inherits properties and behavior from another. Example: class Dog extends Animal.
Polymorphism: Ability to present the sam...
Syntax for declaring an array in Java
Declare the array type followed by square brackets and the array name
Initialize the array using curly braces with values separated by commas
Example: String[] names = {"Alice", "Bob", "Charlie"}
Multithreading is the concurrent execution of two or more threads to achieve maximum utilization of CPU.
Multithreading allows multiple threads to run concurrently within a single program.
It improves performance by utilizing idle CPU time and allows for better responsiveness in applications.
Threads can be created by extending the Thread class or implementing the Runnable interface.
Example: A web server handling mul...
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Inner join is used to combine rows from two or more tables based on a related column between them.
Use INNER JOIN keyword in SQL to perform inner join
Specify the columns to join on using ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Object-oriented programming concepts in Java
Encapsulation: bundling data and methods that operate on the data into a single unit
Inheritance: allows a class to inherit properties and behavior from another class
Polymorphism: ability of an object to take on many forms
Abstraction: hiding the implementation details and showing only the necessary features of an object
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
I appeared for an interview before Apr 2024, where I was asked the following questions.
I applied via Walk-in and was interviewed in May 2023. There were 2 interview rounds.
OOPs stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent and manipulate data.
OOPs is based on the concept of classes and objects.
It focuses on encapsulation, inheritance, and polymorphism.
Encapsulation ensures data hiding and abstraction.
Inheritance allows the creation of new classes from existing ones.
Polymorphism enables objects to take on multiple forms.
Example: In Jav...
Top trending discussions
posted on 22 May 2021
I applied via Referral and was interviewed before May 2020. There were 5 interview rounds.
Auditing is important to ensure accuracy, compliance, and transparency in financial reporting.
Auditing helps to detect and prevent fraud and errors in financial statements.
It ensures compliance with laws and regulations, such as the Sarbanes-Oxley Act.
Auditing provides assurance to stakeholders that financial information is accurate and reliable.
It helps to identify areas for improvement in financial management and rep...
I chose this company because of its strong reputation, innovative culture, and opportunities for growth.
The company has a proven track record of success and is highly regarded in the industry.
I am impressed by the company's commitment to innovation and staying ahead of the curve.
There are ample opportunities for professional development and advancement within the company.
The company's values align with my own, particul...
I plan to advance my career in project management and this role aligns with my goal.
I have a strong interest in project management and have been actively pursuing certifications in this field.
This role will provide me with valuable experience in managing projects and working with cross-functional teams.
I believe that the skills and knowledge I gain in this role will be transferable to future project management position...
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
This round was held during university hours and consisted of 2 coding questions.
Round duration - 120 minutes
Round difficulty - Easy
Make sure you do no cutting and are clear about the approach you'd be following.
Running median of an input stream is the median value of the numbers seen so far in a continuous stream of data.
Maintain two heaps - a max heap for the lower half of the numbers and a min heap for the upper half.
Keep the number of elements in the two heaps balanced or differ by at most 1.
If the total number of elements is odd, the median is the root of the max heap. If even, it is the average of the roots of the two he...
Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.
Application resume tips for other job seekersBe sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.
Final outcome of the interviewSelectedI applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
based on 7 interview experiences
Difficulty level
Duration
based on 3 reviews
Rating in categories
Executive Accountant
33
salaries
| ₹1.4 L/yr - ₹3 L/yr |
Team Lead
30
salaries
| ₹3.3 L/yr - ₹6 L/yr |
Senior Accounts Executive
28
salaries
| ₹2.5 L/yr - ₹3.5 L/yr |
Business Analyst
16
salaries
| ₹1 L/yr - ₹5 L/yr |
Java Developer
14
salaries
| ₹0.8 L/yr - ₹2.5 L/yr |
Teleperformance
Amazon
iEnergizer
Deloitte