Filter interviews by
Three questions regarding output prediction.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract for cla...
A wrapper class in Java is a class that wraps around a primitive data type and provides additional methods and functionalities.
Wrapper classes are used to convert primitive data types into objects.
They provide methods to access the value of the wrapped primitive type.
Examples include Integer, Double, Boolean, etc.
OOP in Java is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve problems.
Encapsulation: Objects bundle data and methods that operate on the data together.
Inheritance: Classes can inherit attributes and methods from other classes.
Polymorphism: Objects can take on d...
Top trending discussions
For loop is used for iterating over a range of values while for each loop is used for iterating over elements of an array.
For loop is used when the number of iterations is known beforehand.
For each loop is used when the number of iterations is not known beforehand.
For loop can be used with any iterable object.
For each loop can only be used with arrays and other iterable objects.
For loop uses an index variable to access...
I appeared for an interview before Jun 2016.
I appeared for an interview before Aug 2016.
I applied via Company Website and was interviewed before Dec 2019. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.
The HashMap class is used to represent key-value pairs in Java.
HashMap is a part of the Java Collections Framework.
It allows null values and only one null key.
It provides constant-time performance for basic operations like get and put.
Example: HashMap<String, Integer> map = new HashMap<>();
Abstraction is the process of simplifying complex systems by focusing on essential details and hiding unnecessary complexities.
Abstraction allows us to create models or representations of real-world objects or systems in software.
It helps in managing complexity by breaking down a system into smaller, more manageable parts.
Abstraction provides a level of indirection, allowing changes to be made in one part of the system...
try-catch is used in Java to handle exceptions and prevent program crashes.
try-catch blocks are used to catch and handle exceptions that may occur during program execution.
It allows the program to gracefully handle errors and prevent the program from crashing.
The try block contains the code that may throw an exception, and the catch block handles the exception.
Multiple catch blocks can be used to handle different types...
The statement to use for selecting based on integer inputs is the 'switch' statement.
The 'switch' statement allows for multiple cases to be evaluated based on the value of an integer input.
Each case represents a possible value of the input, and the corresponding code block is executed if the value matches.
The 'switch' statement also provides a 'default' case which is executed if none of the cases match the input value.
...
I applied via Campus Placement and was interviewed in Oct 2020. There was 1 interview round.
posted on 12 Sep 2023
I applied via Naukri.com and was interviewed before Sep 2022. There were 3 interview rounds.
Advanced JS, PHP related questions
based on 1 interview
Interview experience
based on 30 reviews
Rating in categories
Software Programmer
22
salaries
| ₹2 L/yr - ₹3.8 L/yr |
Programmer
15
salaries
| ₹2.4 L/yr - ₹3.5 L/yr |
QA Engineer
8
salaries
| ₹1.8 L/yr - ₹2.7 L/yr |
Associate Business Consultant
7
salaries
| ₹2.5 L/yr - ₹3.8 L/yr |
Business Consultant
7
salaries
| ₹3.4 L/yr - ₹4.2 L/yr |
HCL Infosystems
Accel Frontline
Northcorp Software
Diverse Lynx