Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2023. There was 1 interview round.
Yes, we can make a constructor private in Java.
Private constructors are used to prevent instantiation of a class from outside the class itself.
Private constructors are commonly used in singleton design pattern.
Private constructors can be used in utility classes where all methods are static and no instance creation is needed.
You can create an object of a class with a private constructor by using a static method within the class.
Create a static method within the class that returns an instance of the class.
Call the static method to create an object of the class.
Securing an API involves using authentication, authorization, encryption, and input validation.
Use authentication methods like OAuth, JWT, or API keys to verify the identity of clients accessing the API.
Implement authorization to control what actions different users can perform within the API.
Encrypt data transmission using HTTPS to protect sensitive information from being intercepted.
Validate and sanitize input data t...
HAVING clause is used in SQL to filter the results of a GROUP BY clause.
Used with GROUP BY to filter grouped results
Filters rows after grouping
Similar to WHERE clause but operates on grouped data
Top trending discussions
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, member variables, and methods, while interface cannot.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes to impl...
Abstract classes can have both implemented and abstract methods, while interfaces can only have abstract methods. Abstract classes support single inheritance, interfaces support multiple inheritance.
Abstract classes can have both implemented and abstract methods, providing more flexibility in design.
Interfaces can only have abstract methods, promoting a more strict contract for implementing classes.
Abstract classes sup...
I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.
Questions on string and arrays both are moderate level questions on hacherrank type for 20 marks
I applied via campus placement at National Institute of Technology (NIT), Warangal and was interviewed in Jul 2022. There were 3 interview rounds.
Their are 30 questions which one has to done in 30 mins
posted on 31 May 2022
I applied via Naukri.com and was interviewed before May 2021. There were 3 interview rounds.
Easy
posted on 8 Aug 2024
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
Q.1 Pattern
1
*2*
**3**
Q. 2
write code to get sub array with max sum from given array.
Interview experience
based on 1 review
Rating in categories
Business Analyst
16
salaries
| ₹2.5 L/yr - ₹4.5 L/yr |
Implementation Executive
13
salaries
| ₹1.2 L/yr - ₹4 L/yr |
Test Engineer
9
salaries
| ₹3.3 L/yr - ₹5.2 L/yr |
Software Programmer
9
salaries
| ₹2.8 L/yr - ₹4.2 L/yr |
Team Lead
9
salaries
| ₹6 L/yr - ₹10.6 L/yr |
Infosys
TCS
Wipro
HCLTech