Premium Employer

Infosys

3.7
based on 37.5k Reviews
Filter interviews by

Pollution Protection Systems Interview Questions and Answers

Updated 8 Jan 2025
Popular Designations

Q1. explain new feature in java (labda, functional interface, default) , what is stream api , filter value not contain null, what is microservice, explain in real time , what is http vs https, inner join , outer jo...

read more
Ans.

Explanation of Java features, Stream API, microservices, HTTP vs HTTPS, and SQL joins.

  • Lambda expressions allow for concise syntax to implement functional interfaces.

  • Stream API provides a way to process collections of objects in a functional style.

  • Microservices architecture breaks down applications into smaller, independent services.

  • HTTP is unencrypted protocol, HTTPS is encrypted using SSL/TLS for secure communication.

  • Inner join combines rows from two tables based on a relate...read more

Add your answer

Q2. What are java8 features? Why string is immutable? Difference between the checked exception and unchecked exception? Difference between throw and throws? Difference between inner class and anonymous class? Inter...

read more
Ans.

Answers to common Java Spring Boot Developer interview questions.

  • Java8 features include lambda expressions, functional interfaces, streams, and default methods.

  • String is immutable in Java to ensure thread safety and prevent unintended modifications.

  • Checked exceptions are checked at compile time, while unchecked exceptions are not. Example: IOException vs NullPointerException.

  • throw is used to explicitly throw an exception, while throws is used to declare that a method may thro...read more

Add your answer

Q3. What is singleton class? Inheritance, Polymorphism, Annotations in spring boot.

Ans.

A singleton class is a class that allows only one instance of itself to be created and provides a global point of access to that instance.

  • Singleton classes are often used in Spring Boot for managing resources such as database connections or thread pools.

  • In Spring Boot, singleton beans are created by default, meaning that only one instance of a bean is created and shared across the application.

  • To create a singleton bean in Spring Boot, you can use the @Component annotation or ...read more

Add your answer

Q4. Method overriding Method overloading Exception Java 8 Find the 2nd non repeating character from a string Find the sum of square of even numbers

Ans.

The question covers topics like method overriding, method overloading, exceptions, Java 8 features, and string manipulation.

  • Method overriding is when a subclass provides a specific implementation of a method that is already provided by its superclass.

  • Method overloading is when multiple methods have the same name but different parameters.

  • Exception handling is used to handle errors that occur during the execution of a program.

  • Java 8 introduced features like lambda expressions, ...read more

Add your answer
Discover Pollution Protection Systems interview dos and don'ts from real experiences

Q5. What is difference between rest and normal controller

Ans.

Rest controllers are specifically used for RESTful web services, while normal controllers are used for traditional web applications.

  • Rest controllers are used to build RESTful web services that can accept and return JSON or XML data.

  • Normal controllers are used for traditional web applications that render HTML views.

  • Rest controllers use annotations like @RestController and @RequestMapping to define endpoints.

  • Normal controllers use annotations like @Controller and @GetMapping to...read more

Add your answer

Q6. What is memory leak how will you identify

Ans.

Memory leak is a situation where a program uses memory inefficiently, causing memory to be allocated but not released.

  • Memory leak occurs when a program allocates memory but does not release it after it is no longer needed.

  • Identifying memory leaks can be done using tools like profilers to analyze memory usage over time.

  • Common signs of memory leaks include increasing memory usage over time, frequent garbage collection, and application crashes due to out-of-memory errors.

Add your answer

Q7. What is stateless and stateful API

Ans.

Stateless API does not store client state on the server, while stateful API does.

  • Stateless API: Each request from client to server must contain all necessary information for the server to fulfill the request. No client state is stored on the server. Example: RESTful APIs.

  • Stateful API: The server stores client state, which can be accessed by subsequent requests. Example: HTTP sessions.

Add your answer

Q8. Difference between springboot and Spring

Ans.

Spring is a framework for building Java applications, while Spring Boot is a tool for easily creating stand-alone, production-grade Spring-based applications.

  • Spring is a framework that provides comprehensive infrastructure support for developing Java applications.

  • Spring Boot is a tool that simplifies the process of creating and deploying Spring-based applications.

  • Spring Boot includes embedded servers, which makes it easy to run applications as standalone JAR files.

  • Spring Boot...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Pollution Protection Systems

based on 6 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter