Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
Find min and max from List of Integers using Java 8 streams.
Use the `stream()` method on the List to create a stream of integers.
Use the `min()` method to find the minimum value.
Use the `max()` method to find the maximum value.
Find 2nd largest element using Java 8 streams from a list of integers.
Sort the list of integers in descending order using streams.
Skip the first element to get the second largest element.
Increase the values of a list of integers by 2 and create a new list.
Iterate through the list of integers
For each integer, add 2 to its value
Create a new list with the updated values
Java has introduced several new features in recent versions.
Java 8 introduced lambda expressions, which allow for functional programming.
Java 8 also introduced the Stream API for processing collections of data.
Java 9 introduced the module system, which provides better encapsulation and modularity.
Java 10 introduced local variable type inference, allowing the omission of explicit type declarations.
Java 11 introduced the...
The @Component and @Repository annotations are used in Spring Framework for different purposes.
Both annotations are used to define beans in the Spring container.
@Component is a generic stereotype annotation for any Spring-managed component.
@Repository is a specialization of @Component used for DAO classes.
The @Repository annotation provides additional exception translation for data access exceptions.
Using @Repository i...
The @Entity annotation is used in Java to mark a class as an entity, which represents a table in a relational database.
The @Entity annotation is part of the Java Persistence API (JPA) and is used in object-relational mapping (ORM) to map Java objects to database tables.
It is typically used in conjunction with other JPA annotations like @Table, @Column, and @Id.
The @Entity annotation is used to define the entity name, s...
The database is configured by setting up the necessary parameters and configurations to ensure proper functioning and performance.
Database configuration involves defining the database schema, tables, and relationships.
It includes setting up indexes and constraints for data integrity.
Configuring database security measures like user access control and permissions.
Tuning database performance by optimizing query execution ...
Dockerfile is a text file that contains instructions to build a Docker image.
Dockerfile is used to automate the creation of Docker images.
It specifies the base image, dependencies, environment variables, and commands to run.
Each instruction in the Dockerfile creates a new layer in the image.
Dockerfile can be version controlled and shared to ensure consistent builds.
Example: FROM ubuntu:latest RUN apt-get update && apt-...
CI/CD is a software development practice that enables frequent and automated code integration, testing, and deployment.
CI/CD stands for Continuous Integration and Continuous Deployment.
It involves automating the process of integrating code changes, running tests, and deploying the application.
CI/CD helps in reducing manual errors, improving code quality, and increasing development speed.
Tools like Jenkins, GitLab CI/CD...
Mutable classes in Java are classes whose state can be modified after creation.
Mutable classes allow changing their internal state
They can have mutable fields or methods that modify their state
To create a mutable class, define fields with non-final modifiers
Provide public methods to modify the state of the class
Inheritance in Java allows a class to inherit properties and behaviors from another class.
Inheritance is achieved using the 'extends' keyword in Java.
Subclasses can access the methods and fields of their superclass.
Java does not support multiple inheritance, but a class can implement multiple interfaces.
Use SQL query with ORDER BY and LIMIT to find the last element in a table.
Use ORDER BY column_name DESC to sort the data in descending order.
Use LIMIT 1 to retrieve only the last element.
HTML5 is the latest version of HTML with new features and improvements.
HTML5 supports new elements like <video>, <audio>, and <canvas> for multimedia content.
HTML5 introduces new APIs like Geolocation, Web Storage, and Web Workers for enhanced functionality.
HTML5 includes improvements in semantics, accessibility, and performance compared to HTML.
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
OOPs concept stands for Object-Oriented Programming concepts which includes encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation is the process of hiding the implementation details from the user.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects to take on multiple forms or behaviors.
Abstraction is the process of hiding unnecessary details from
Lazy loading is a technique used to defer the loading of non-critical resources until they are needed.
It improves page load time and performance.
It is commonly used for images, videos, and other media files.
It can be implemented using JavaScript libraries like LazyLoad or Intersection Observer API.
Lazy loading can also be used for modules and components in web applications.
It helps to reduce the initial load time of th
Eager loading is a technique used in software development to load related data in advance to avoid multiple database queries.
Eager loading is used to optimize database queries and improve performance.
It loads all the required data in a single query instead of making multiple queries.
It is commonly used in Object-Relational Mapping (ORM) frameworks like Hibernate, Entity Framework, etc.
Eager loading can be used with var...
Top trending discussions
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
Some of the top questions asked at the Sterlite Technologies Software Developer interview -
based on 2 interviews
Interview experience
based on 13 reviews
Rating in categories
Process Associate
662
salaries
| ₹0 L/yr - ₹0 L/yr |
Field Engineer
300
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Officer
246
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
241
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
230
salaries
| ₹0 L/yr - ₹0 L/yr |
Bharti Airtel
Tata Communications
Vodafone Idea
Tech Mahindra