Filter interviews by
Top trending discussions
I applied via Approached by Company and was interviewed in Sep 2024. There were 3 interview rounds.
I am a Java Developer with 5 years of experience in developing web applications using Java, Spring, and Hibernate.
5 years of experience in Java development
Proficient in Spring and Hibernate frameworks
Strong understanding of web application development
Developed a web-based inventory management system using Java, Spring, and Hibernate
Designed and implemented database schema using Hibernate
Developed RESTful APIs using Spring framework
Worked on front-end development using HTML, CSS, and JavaScript
Collaborated with team members to troubleshoot and resolve issues
Participated in code reviews and testing
Interfaces and Abstract classes in Java are used for achieving abstraction and defining contracts for classes to implement.
Interfaces in Java are like blueprints for classes, defining methods that must be implemented by classes that implement the interface.
Abstract classes are classes that cannot be instantiated and can have both abstract and concrete methods.
Example of an interface in Java: public interface Shape { ...
Reverse the year of birth and name, then print them in that order.
Reverse the year of birth using StringBuilder.reverse() method
Reverse the name using StringBuilder.reverse() method
Print the reversed year of birth followed by the reversed name
Threads in Java are lightweight sub-processes that allow concurrent execution within a single process.
Threads allow multiple tasks to be executed simultaneously in a Java program.
Threads share the same memory space and resources within a process.
Example: Creating a new thread using the Thread class or implementing the Runnable interface.
Developed a web application for inventory management system using Java Spring framework
Used Java Spring framework for backend development
Implemented RESTful APIs for communication between frontend and backend
Utilized MySQL database for storing inventory data
Using Java 8 Streams API to print single occurrences of names in an ArrayList of Strings.
Use stream() method on the ArrayList to create a stream of elements.
Use filter() method to filter out elements that occur more than once.
Use distinct() method to get only unique elements.
Use forEach() method to print each unique element.
Code to print each name and the number of occurrences in an ArrayList of Strings.
Iterate through the ArrayList and use a HashMap to store the count of each name.
Print each name along with its count from the HashMap.
Lambda expressions in Java are a concise way to represent anonymous functions.
Lambda expressions are used to provide implementation of functional interfaces.
They enable you to treat functionality as a method argument, or code as data.
Syntax: (parameters) -> expression or (parameters) -> { statements; }
Example: (int a, int b) -> a + b
Functional interfaces in Java are interfaces with only one abstract method, used for lambda expressions and functional programming.
Functional interfaces have only one abstract method, but can have multiple default or static methods.
They are used for lambda expressions and functional programming in Java.
Examples include java.lang.Runnable, java.util.Comparator, and java.util.function.Function.
Streams in Java are sequences of elements that support functional-style operations such as filter, map, reduce, etc.
Streams are not data structures, but rather a way to interact with collections of objects.
They allow for efficient processing of large amounts of data.
Streams can be sequential or parallel, allowing for concurrent processing.
Example: List
I am a Java Developer with 5 years of experience in developing web applications and implementing solutions using Java technologies.
5 years of experience in Java development
Strong knowledge of web application development
Experience in implementing solutions using Java technologies
My previous CTC was confidential as per company policy.
CTC was confidential as per company policy
I am unable to disclose my previous CTC
Previous CTC information is not available
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Runtime polymorphism allows a subclass to provide a specific implementation of a method that is already provided by its parent class.
Runtime polymorphism is achieved through method overriding, where a subclass provides its own implementation of a method that is already defined in its superclass.
The method to be overridden must have the same name, return type, and parameters in both the superclass and subclass.
When an o...
Streams in Java provide a way to process collections of objects in a functional style.
Streams are sequences of elements that support various operations like filter, map, reduce, etc.
They can be created from collections, arrays, or generate elements dynamically.
Streams can be sequential or parallel, allowing for efficient processing of large datasets.
Example: List<String> names = Arrays.asList("Alice", "Bob", "Cha...
Threads in Java are created by extending the Thread class or implementing the Runnable interface, and invoked using the start() method.
Threads can be created by extending the Thread class and overriding the run() method.
Threads can also be created by implementing the Runnable interface and passing an instance of the class to a Thread object.
Threads are invoked by calling the start() method on the Thread object.
Rest Template is a class in Spring that simplifies making HTTP requests and handling responses.
Rest Template is part of the Spring framework in Java.
It can be used to make HTTP requests to RESTful web services.
It simplifies the process of making HTTP calls and handling responses.
Rest Template can handle GET, POST, PUT, DELETE, etc. requests.
Example: RestTemplate restTemplate = new RestTemplate();
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
I applied via Campus Placement
There was pattern question in any programming language and you have make the pattern dynamic.
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
Spring beans are Java objects managed by the Spring IoC container.
Spring beans are defined in the Spring configuration file using XML or annotations.
They are instantiated, assembled, and managed by the Spring IoC container.
Beans can be singleton, prototype, request, session, or custom scoped.
Dependency injection is used to inject dependencies into Spring beans.
Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.
Spring Boot eliminates the need for manual configuration by providing defaults for most settings.
It allows developers to quickly set up and run standalone Spring-based applications.
Spring Boot includes embedded servers like Tomcat, Jetty, or Undertow for easy deployment.
It promotes convention o...
Interview experience
Software Engineer2
57
salaries
| ₹8.6 L/yr - ₹25 L/yr |
Software Engineer III
43
salaries
| ₹21.5 L/yr - ₹37.5 L/yr |
Software Engineer
35
salaries
| ₹7.5 L/yr - ₹20.3 L/yr |
Senior Software Engineer
35
salaries
| ₹14.8 L/yr - ₹44 L/yr |
Software Engineer II
35
salaries
| ₹12 L/yr - ₹23.1 L/yr |
IBM
Microsoft Corporation
Oracle
SAP