Filter interviews by
I applied via LinkedIn and was interviewed in Dec 2021. There were 4 interview rounds.
Constructor is a special method used to initialize objects in Java.
Constructor has the same name as the class.
It is called automatically when an object is created.
It can be used to set default values for object attributes.
There can be multiple constructors in a class with different parameters.
Example: public class Car { public Car(String color) { this.color = color; } }
Program to find top ten prime numbers and more
Create a function to check if a number is prime
Loop through numbers and add prime numbers to an array
Sort the array in descending order and return the top ten
Add options for user to input range of numbers and number of primes to find
Collection framework is a set of interfaces and classes that provide a way to store and manipulate groups of objects in Java.
Collection framework provides interfaces like List, Set, Queue, etc. for storing and manipulating groups of objects.
It also provides classes like ArrayList, HashSet, PriorityQueue, etc. that implement these interfaces.
Collection framework provides algorithms like sorting, searching, shuffling, et...
Interface in Java is a blueprint of a class that defines a set of methods without implementation.
Interfaces are used to achieve abstraction and multiple inheritance in Java.
All methods in an interface are public and abstract by default.
A class can implement multiple interfaces but can only extend one class.
Interfaces can also have default and static methods with implementation.
Example: interface Shape { void draw(); }
E...
Top trending discussions
I applied via Referral
I applied via Walk-in and was interviewed in Jun 2024. There were 2 interview rounds.
Two written coding questions
I applied via Walk-in and was interviewed in Feb 2024. There were 2 interview rounds.
There wew two questions in the test one was a pattern problrm to print and second was a rray problem you have to solve both of the questions
I was interviewed in Aug 2024.
Good questions easy to think and clear
posted on 18 Nov 2020
I applied via LinkedIn and was interviewed in May 2020. There were 5 interview rounds.
Threads are a sequence of instructions that can be executed independently by a program.
Threads are lightweight processes that share the same memory space as the parent process.
They allow for concurrent execution of multiple tasks within a single program.
Threads can communicate with each other through shared memory or message passing.
Examples of multi-threaded programs include web servers, video games, and operating sys
Stack is a linear data structure while tree is a hierarchical data structure.
Stack is a collection of elements with LIFO (Last In First Out) order.
Tree is a collection of nodes with parent-child relationship.
Stack has only one entry and exit point while tree can have multiple entry and exit points.
Stack is used for backtracking, undo operations, etc. while tree is used for representing hierarchical data like file syste
I applied via Referral
posted on 15 Feb 2022
I applied via Company Website and was interviewed in Jan 2022. There were 2 interview rounds.
posted on 15 Feb 2022
I applied via Company Website and was interviewed in Jan 2022. There were 2 interview rounds.
Consultant
57
salaries
| ₹4.5 L/yr - ₹15.2 L/yr |
Senior Consultant
47
salaries
| ₹8.6 L/yr - ₹27 L/yr |
Associate Consultant
26
salaries
| ₹4 L/yr - ₹8.2 L/yr |
Senior Software Engineer
20
salaries
| ₹13 L/yr - ₹28 L/yr |
Software Engineer
14
salaries
| ₹5 L/yr - ₹15.3 L/yr |
KPMG India
Deloitte
PwC
Ernst & Young