Filter interviews by
I was interviewed in Feb 2022.
Java programming language
Object oriented programming is a programming paradigm that uses objects to represent and manipulate data.
OOP focuses on encapsulation, inheritance, and polymorphism
Objects have attributes (data) and methods (functions)
Java, C++, and Python are popular OOP languages
Example: A car object has attributes like color and model, and methods like start and stop
Data types are classifications of data items based on their characteristics.
Data types define the type of data that a variable can hold
Java has two categories of data types: primitive and non-primitive
Primitive data types include int, double, boolean, char, etc.
Non-primitive data types include arrays, classes, interfaces, etc.
A collection is a group of objects that can be stored, manipulated, and retrieved as a single unit.
Collections are used to store and manipulate groups of related objects
Examples include ArrayList, LinkedList, HashSet, TreeMap
Collections can be sorted, searched, and filtered
Condition statements are used to execute code based on certain conditions being met.
Condition statements are typically written using if, else if, and else keywords
The condition inside the if statement must evaluate to true for the code inside the block to be executed
Multiple conditions can be checked using logical operators such as && (and) and || (or)
Switch statements are another way to execute code based on condition...
Servlets are Java classes that handle HTTP requests and responses. XML is a markup language used for data exchange.
Servlets are server-side components that generate dynamic web content.
XML is used to store and transport data between systems.
Servlets can be used to handle form submissions, authentication, and session management.
XML can be used to define data structures, configuration files, and web services.
Servlets are...
A programming language in Java
Define a grammar for the language
Implement a lexer to tokenize the input
Use a parser to build an abstract syntax tree
Implement a type checker to ensure type safety
Generate bytecode or machine code from the AST
Provide a runtime environment to execute the code
Arrays, strings, and classes are fundamental concepts in Java programming.
Arrays are collections of similar data types that can be accessed using an index.
Strings are sequences of characters that are immutable in Java.
Classes are templates for creating objects that encapsulate data and behavior.
Arrays and strings are both objects in Java.
Classes can be used to create custom data types and define their behavior.
Classes are blueprints for objects, while objects are instances of classes.
Classes define the properties and behaviors of objects
Objects are created from classes and have their own unique values for properties
Classes can be thought of as a template or a blueprint
Objects are created using the 'new' keyword followed by the class name
Classes can have static properties and methods, while objects cannot
Control statements in JavaScript are used to control the flow of execution of a program.
if-else statements
switch statements
for loops
while loops
do-while loops
break and continue statements
Operators are symbols that perform operations on operands in a programming language.
Arithmetic operators: +, -, *, /, %
Relational operators: <, >, <=, >=, ==, !=
Logical operators: &&, ||, !
Bitwise operators: &, |, ^, ~, <<, >>, >>>
Assignment operators: =, +=, -=, *=, /=, %=
Conditional operator: ? :
Top trending discussions
Developed a web application for tracking employee attendance and performance
Implemented user authentication and authorization using Spring Security
Utilized Hibernate for database interaction and data persistence
Designed and developed RESTful APIs for frontend integration
Used AngularJS for frontend development to create interactive user interfaces
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
A standard online test conducted through one of the testing platforms.
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
posted on 9 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Primitive data types are basic data types provided by the programming language, while non-primitive data types are created by the programmer.
Primitive data types include int, float, double, char, boolean, etc.
Non-primitive data types include arrays, classes, interfaces, etc.
Primitive data types store actual values, while non-primitive data types store references to objects.
Access modifiers control the visibility of classes, methods, and variables. Non-access modifiers provide additional functionality.
Access modifiers: public, private, protected, default
Non-access modifiers: static, final, abstract, synchronized
Example: public class MyClass { private int myVar; }
Java 8 features include lambda expressions, functional interfaces, streams, and more.
Lambda expressions allow concise syntax for defining anonymous functions.
Functional interfaces can have only one abstract method and are used for lambda expressions.
Streams provide a way to process collections of objects in a functional style.
Optional class helps to avoid NullPointerException by wrapping a value that may be null.
CICD tools automate the process of building, testing, and deploying code changes.
Popular CICD tools include Jenkins, GitLab CI/CD, CircleCI, and Travis CI
These tools help in automating the software development lifecycle
They enable continuous integration, continuous delivery, and continuous deployment
CICD tools help in improving code quality, reducing manual errors, and increasing development speed
Containerization is a lightweight, portable, and self-sufficient way to package and run applications.
Containerization involves encapsulating an application and its dependencies into a container image.
Containers are isolated from each other and share the host OS kernel.
Popular containerization platforms include Docker and Kubernetes.
Containerization allows for easy deployment and scaling of applications.
Indexing in SQL is a technique used to improve the performance of queries by creating a data structure that allows for faster retrieval of data.
Indexes are created on columns in a database table to speed up the retrieval of rows that match a certain condition in a query.
They work similar to the index in a book, allowing the database to quickly locate the rows that satisfy the query.
Indexes can be created using a single...
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
Developed a web-based inventory management system for a retail company.
Used Java, Spring Boot, and MySQL for backend development.
Implemented user authentication and authorization using Spring Security.
Designed a responsive front-end using HTML, CSS, and JavaScript.
Integrated barcode scanning functionality for efficient inventory tracking.
A class is a blueprint or template for creating objects, while an object is an instance of a class.
A class defines the properties and behaviors of objects, while an object is a specific instance of a class.
Classes can be used to create multiple objects with similar characteristics.
Objects have state (attributes) and behavior (methods) defined by the class.
Example: Class 'Car' defines properties like 'color' and 'model'...
posted on 30 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes...
Handler methods in Java are methods that are responsible for handling incoming requests and generating responses.
Handler methods are typically defined in classes annotated with @Controller or @RestController.
These methods are mapped to specific URLs using @RequestMapping or other mapping annotations.
Handler methods can have parameters such as HttpServletRequest, HttpServletResponse, or model attributes.
The return value...
I was interviewed in Nov 2024.
A program to check if a given number is prime or not.
Create a function to check if a number is prime by iterating from 2 to the square root of the number.
If the number is divisible by any number other than 1 and itself, it is not prime.
Handle edge cases like 0, 1, and negative numbers separately.
To find the 3rd highest salary employee, we can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.
Use a SQL query to select distinct salaries in descending order
Use 'LIMIT 1 OFFSET 2' to get the 3rd highest salary
Join this result with the employee table to get the employee details
I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.
Aptitude questions and some questions from PostgreSQL.
HashMap, LinkedList, HashSet, and Heap are data structures commonly used in Java for storing and organizing data.
HashMap: key-value pairs, uses hashing to store and retrieve elements efficiently (e.g. HashMap
LinkedList: linear data structure, elements are stored in nodes with pointers to the next node (e.g. LinkedList
HashSet: collection of unique elements, uses hashing to ensure uniqueness (e.g. Hash...
Technical Consultant
9
salaries
| ₹4 L/yr - ₹5.8 L/yr |
Technical Support Engineer
5
salaries
| ₹6.3 L/yr - ₹9.5 L/yr |
Cloud Services Specialist
4
salaries
| ₹8.7 L/yr - ₹12.6 L/yr |
Softwaretest Engineer
4
salaries
| ₹6 L/yr - ₹15.5 L/yr |
Application Support Engineer
4
salaries
| ₹5.7 L/yr - ₹7.9 L/yr |
SAP
Oracle
Salesforce
ServiceNow