Filter interviews by
To make a class mutable, provide public setter methods to modify its internal state.
Add public setter methods to modify class fields
Avoid using final keyword for class fields
Implement proper validation logic in setter methods
Consider thread safety when allowing mutability
Find the smallest product of elements in an array of strings.
Convert each string element to integer and calculate the product of all elements.
Keep track of the smallest product found so far.
Return the smallest product at the end.
Designing for input and output files involves considering file formats, data validation, error handling, and security measures.
Understand the requirements for input and output files, including file formats and data structures.
Implement data validation to ensure that input files meet the required format and content.
Include error handling mechanisms to address issues such as missing files or incorrect data.
Consider secur...
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 Approached by Company and was interviewed in May 2024. There were 4 interview rounds.
Microservices are a software development technique where an application is divided into smaller, independent services that communicate with each other through APIs.
Microservices are small, independent services that focus on specific business functions.
Each microservice can be developed, deployed, and scaled independently.
Microservices communicate with each other through APIs, typically using lightweight protocols like ...
Microservices architecture is a design approach where a single application is composed of small, independent services that communicate with each other.
Each microservice is responsible for a specific business function or capability
Microservices communicate with each other through APIs
Each microservice can be developed, deployed, and scaled independently
Microservices architecture promotes flexibility, scalability, and re
Microservices are connected in REST APIs using communication protocols like HTTP, messaging queues, and service discovery.
Microservices communicate with each other using HTTP requests and responses.
Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.
Service discovery tools like Eureka or Consul help in locating and connecting to different microservices.
API Gateway ca...
Creating immutable class of orders, sorting orders, finding average of lists of integers.
Create an immutable class Orders with private final fields and no setter methods.
Override equals() and hashCode() methods to ensure uniqueness of objects.
Use Collections.unmodifiableSet() to create a set of orders and Collections.sort() to sort them.
Iterate through the List of List of String of integers, convert to integers, and ca
Spring Cloud is a set of tools and frameworks for building cloud-native applications in Java.
Spring Cloud provides tools for service discovery, load balancing, configuration management, and more in microservices architecture.
It includes projects like Eureka for service discovery, Ribbon for client-side load balancing, and Config Server for externalized configuration.
Spring Cloud integrates with Spring Boot to simplify ...
Deployment build config includes settings for deploying the application.
Use tools like Maven or Gradle to manage dependencies and build the project
Specify deployment environment configurations in a separate file (e.g. application.properties)
Define build scripts for tasks like compiling, packaging, and deploying the application
Leverage CI/CD pipelines for automated builds and deployments
Given a project, you need to create logic for a service using helpers and finally give a aggregate of the final converted price .
Given few java 8 programming functions, you need to convert them to respective java 11 functions
I applied via Recruitment Consulltant
Online coding test with spring boot rest API and a java problem solving.
Design a REST API for a backend Java developer
Define the resources and endpoints
Use HTTP methods like GET, POST, PUT, DELETE
Implement authentication and authorization
Use JSON for data exchange
Include error handling and status codes
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
They asked question about myself
Gave codeing in advance java concepts
I applied via Job Portal and was interviewed in May 2024. There was 1 interview round.
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...
Good coding questions related array and string
posted on 24 Jun 2024
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
1. Basic Java
2. Code Snippet
3. Microservices
API gateway acts as a single entry point for all client requests, routing them to the appropriate microservices.
API gateway handles authentication and authorization for client requests.
It can perform load balancing and routing of requests to different microservices.
API gateway can also handle caching, logging, and monitoring of requests.
Examples of API gateways include Kong, Apigee, and AWS API Gateway.
Senior Software Engineer
2.6k
salaries
| ₹15 L/yr - ₹42.7 L/yr |
Software Engineer
1.7k
salaries
| ₹6.9 L/yr - ₹24 L/yr |
Lead Software Engineer
831
salaries
| ₹18 L/yr - ₹52 L/yr |
Senior Systems Engineer
304
salaries
| ₹12 L/yr - ₹36.3 L/yr |
Software Test Automation Engineer
267
salaries
| ₹7 L/yr - ₹20 L/yr |
TCS
Infosys
Wipro
HCLTech