Filter interviews by
A constructor is a special type of method that is automatically called when an object is created in a class.
Constructors have the same name as the class they belong to.
They are used to initialize the object's state.
Constructors can have parameters to set initial values for object properties.
Example: public class Car { public Car(String color) { this.color = color; } }
Friend functions are functions that are not members of a class but have access to the private and protected members of the class.
Friend functions are declared with the keyword 'friend' in the class definition.
They can access private and protected members of the class they are friends with.
Friend functions are not member functions of the class.
They are often used to allow external functions or classes to access private
Top trending discussions
posted on 24 Sep 2024
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Closure in JavaScript is a function that has access to its own scope, as well as the outer scope in which it was defined.
A closure allows a function to access variables from its outer function even after the outer function has finished executing.
Closures are commonly used in event handlers, callbacks, and in functional programming.
Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFun
Class is used to style multiple elements, while ID is used to style a single element.
Class can be used multiple times in a document, while ID should be unique
Class is denoted by a period (.), ID is denoted by a hash (#)
Class can be applied to multiple elements, ID can only be applied to one element
Palindrome code should be designed to check if a given string is the same forwards and backwards.
Create a function that takes a string as input
Remove any spaces and punctuation from the string
Reverse the string and compare it to the original string to check if it is a palindrome
posted on 9 Jan 2025
I was interviewed in Dec 2024.
posted on 16 Dec 2024
I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.
The aptitude test was relatively straightforward, consisting of both aptitude and technical questions, with a difficulty level ranging from easy to medium.
I was interviewed in Nov 2024.
The aptitude test evaluates problem-solving, coding skills, and logical reasoning, offering a fair challenge to showcase technical expertise.
I address conflicts in team projects by promoting open communication, active listening, and seeking compromise.
Encourage open communication among team members to address conflicts early on
Practice active listening to understand all perspectives and concerns
Seek compromise and find common ground to resolve conflicts effectively
Interface is a contract that defines the methods a class must implement, while an abstract class can have both implemented and abstract methods.
Interface can only have abstract methods and cannot have any implementation, while abstract class can have both abstract and implemented methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to achieve multiple inheri...
posted on 26 Dec 2024
I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.
I am a Software Development Engineer with 5 years of experience in developing web applications using Java, Spring, and Angular.
5 years of experience in software development
Proficient in Java, Spring, and Angular
Strong problem-solving skills
Experience in developing web applications
Good team player
posted on 17 Jan 2025
I applied via Approached by Company and was interviewed in Nov 2024. There was 1 interview round.
To rotate a matrix, transpose it and then reverse each row or column depending on the direction of rotation.
Transpose the matrix by swapping elements across the diagonal
For clockwise rotation, reverse each row of the transposed matrix
For anti-clockwise rotation, reverse each column of the transposed matrix
Use binary search to efficiently find a particular element in a sorted array.
Start by comparing the target element with the middle element of the array.
If the target element is less than the middle element, search the left half of the array.
If the target element is greater than the middle element, search the right half of the array.
Repeat the process until the target element is found or the search space is empty.
Software Engineer
22
salaries
| ₹3 L/yr - ₹5.7 L/yr |
Associate Consultant
6
salaries
| ₹4.4 L/yr - ₹7 L/yr |
Software Developer
4
salaries
| ₹2.5 L/yr - ₹5.4 L/yr |
Technical Consultant
4
salaries
| ₹5 L/yr - ₹6 L/yr |
Oracle Technical Consultant
4
salaries
| ₹4 L/yr - ₹6 L/yr |
KPMG India
Deloitte
PwC
Ernst & Young