i
Trianz
Filter interviews by
Microservices are a software development technique where applications are broken down into smaller, independent services that work together.
Microservices are small, independent services that can be developed, deployed, and scaled independently.
Each microservice typically focuses on a specific business function and communicates with other services through APIs.
Microservices promote flexibility, scalability, and resilien...
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 for the creation of stand-alone, production-grade Spring-based applications.
Spring Boot includes embedded servers like Tomcat, Jetty, or Undertow for easy deployment.
It promotes convention...
Top trending discussions
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Functional programming in Java focuses on using functions to perform tasks, while OOPs concepts revolve around classes and objects.
Functional programming in Java involves using higher-order functions, lambda expressions, and streams to process data.
OOPs concepts in Java include inheritance, encapsulation, polymorphism, and abstraction.
Functional programming promotes immutability and avoids side effects, while OOPs allo...
Functional programming in Java focuses on using functions to perform operations on data, emphasizing immutability and avoiding side effects.
Uses higher-order functions like map, filter, and reduce to manipulate data
Emphasizes immutability to avoid side effects
Encourages declarative programming style
Leverages lambda expressions and streams for concise code
Example: Using map to transform a list of integers
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
It was medium level java coding questions along with springboot, mcqs
ArrayList is better for random access and LinkedList is better for frequent insertions and deletions.
ArrayList uses dynamic array to store elements, allowing fast random access but slower insertions and deletions.
LinkedList uses doubly linked list to store elements, allowing fast insertions and deletions but slower random access.
Example: Use ArrayList when you need to frequently access elements by index. Use LinkedList...
HashMap is a data structure in Java that stores key-value pairs and allows fast retrieval of values based on keys.
HashMap is part of the Java Collections framework.
It allows null keys and values.
HashMap does not maintain insertion order.
Example: HashMap
posted on 4 Sep 2024
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Annotations in Java provide metadata about a program that can be used by the compiler or at runtime.
Annotations start with the @ symbol.
Annotations can be used to provide information to the compiler or to runtime environments.
Annotations can be used to define custom metadata for classes, methods, fields, etc.
Annotations can also be used for code generation, documentation, and validation.
Examples of annotations in Java ...
ConcurrentSkipListMap is a concurrent, sorted map implementation in Java.
ConcurrentSkipListMap is a concurrent version of SkipListMap, which is a sorted map implementation based on skip list data structure.
It allows multiple threads to access and modify the map concurrently.
It provides logarithmic time complexity for most operations, making it efficient for concurrent access.
Example: ConcurrentSkipListMap
Yes, I have worked on various data structures like arrays, linked lists, stacks, queues, trees, and graphs.
I have implemented algorithms using data structures like sorting, searching, and traversal.
I have optimized code by choosing the appropriate data structure for the problem.
I have used data structures in projects to efficiently store and manipulate data.
Yes, I have experience working on Multithreading in Java.
Implemented multithreading using Java's Thread class
Used synchronized keyword to handle thread synchronization
Utilized Executor framework for managing thread pools
Program to find min and max no from array of strings
Iterate through the array and compare each element to find min and max
Use Integer.parseInt() to convert strings to integers for comparison
Initialize min and max variables with first element of array
The @Controller annotation is used to create a controller class in Spring MVC, while @RestController is used to create RESTful web services.
The @Controller annotation is used to create a controller class in Spring MVC, which is used to handle traditional web requests.
The @RestController annotation is used to create RESTful web services, which return data in JSON or XML format.
The @RestController annotation is a special...
The @Service annotation is used to mark a class as a service, while the @Repository annotation is used to mark a class as a repository.
The @Service annotation is typically used on service layer classes, which contain business logic.
The @Repository annotation is typically used on repository classes, which interact with a database or other data source.
Both annotations are used for component scanning and dependency inject...
ArrayList is implemented using a dynamic array while LinkedList is implemented using a doubly linked list.
ArrayList provides fast access to elements using index, but slow insertion and deletion.
LinkedList provides fast insertion and deletion, but slow access to elements.
Example: ArrayList is suitable for scenarios where random access is required, while LinkedList is suitable for scenarios where frequent insertion and d
I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.
1 Assignment which you need to solve in front of the interviewer
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Separate 0 and 1 and then store in the sme array
I was interviewed in Jul 2024.
Microservices can introduce complexity, communication overhead, and potential performance issues.
Increased complexity due to managing multiple services
Communication overhead between services
Potential performance issues due to network latency
Difficulty in maintaining consistency across services
No, @FunctionalInterface cannot be extended. Map and flatMap are default methods in the interface and cannot be overridden.
No, @FunctionalInterface cannot be extended as it is a single abstract method interface.
Map and flatMap are default methods in the interface and cannot be overridden.
Example: public interface MyInterface { void myMethod(); default void myDefaultMethod() { // implementation } }
based on 1 interview
Interview experience
Technical Lead
675
salaries
| ₹9 L/yr - ₹30.3 L/yr |
Senior Software Engineer
408
salaries
| ₹5.2 L/yr - ₹17.5 L/yr |
Senior Technical Lead
369
salaries
| ₹11.2 L/yr - ₹37 L/yr |
Software Engineer
306
salaries
| ₹3 L/yr - ₹9 L/yr |
Senior Systems Engineer
87
salaries
| ₹3.8 L/yr - ₹13 L/yr |
Wipro
Infosys
Tech Mahindra
HCLTech