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
I applied via Campus Placement and was interviewed before Nov 2023. There was 1 interview round.
I applied via Campus Placement and was interviewed in Feb 2021. There were 6 interview rounds.
Non-aggregate functions in SQL are used to manipulate individual data values.
Non-aggregate functions operate on individual data values, rather than groups of values.
Examples include string functions (e.g. CONCAT, SUBSTRING), date functions (e.g. DATEADD, DATEDIFF), and mathematical functions (e.g. ABS, ROUND).
These functions can be used in SELECT, WHERE, and ORDER BY clauses to manipulate data.
Non-aggregate functions c...
SQL query to fetch first 10 rows from the table
Use SELECT statement
Add LIMIT clause with 10 as argument
Optionally, use ORDER BY clause for specific order
Top trending discussions
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Referral and was interviewed before Jan 2021. There was 1 interview round.
I applied via Campus Placement and was interviewed before Feb 2021. There were 3 interview rounds.
Aptitude round consists Logical reasoning, General Aptitude, Grammar related questions etc. All are moderate level questions.
OOPs is a programming paradigm that uses objects to represent real-world entities. Java is an OOPs language.
OOPs stands for Object-Oriented Programming System
Java is a class-based OOPs language
Encapsulation, Inheritance, Polymorphism, and Abstraction are the four pillars of OOPs
Objects have state and behavior
Java supports interfaces, which allow for multiple inheritance
Example: A car can be represented as an object wit...
Java solves machine dependency by using bytecode and virtual machine.
Java code is compiled into bytecode which is platform-independent
The bytecode is executed by the Java Virtual Machine (JVM) which is platform-specific
JVM translates bytecode into machine code for the specific platform
This allows Java code to run on any platform with a JVM installed
Example: A Java program compiled on Windows can run on Linux or Mac as
I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.
Numerical ability and logical reasoning followed by some coding mcqs
Printing 1 to 100 without for loop
Use recursion to print numbers from 1 to 99
Print 100 outside the recursion
Use a base case to stop recursion at 100
I applied via Campus Placement and was interviewed before Jun 2021. There were 2 interview rounds.
Simple aptitude test
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
Attended the codevita competition in final year of college.
I applied via Campus Placement and was interviewed before Aug 2021. There were 2 interview rounds.
It was a basic aptitude test.
based on 6 interviews
Interview experience
based on 35 reviews
Rating in categories
Business Analyst
14
salaries
| ₹0 L/yr - ₹0 L/yr |
Implementation Executive
13
salaries
| ₹0 L/yr - ₹0 L/yr |
Test Engineer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Programmer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Infosys
TCS
Wipro
HCLTech