JPMorgan Chase & Co.
Greenview Interiors Interview Questions and Answers
Q1. Describe Java 8 concept? Programming questions Collection framework Difference between Spring and Spring boot ?
Java 8 introduced new features like lambda expressions, streams, and functional interfaces.
Lambda expressions allow functional programming in Java.
Streams provide a concise way to perform operations on collections.
Functional interfaces enable the use of lambda expressions.
Java 8 also introduced the Optional class for null-safe programming.
Default methods were added to interfaces to allow for backward compatibility.
Java 8 also introduced the Date-Time API for improved handling...read more
Q2. What is the difference between Spring and SpringBoot?
Spring is a framework for building Java applications, while SpringBoot is a tool that simplifies the setup and configuration of Spring applications.
Spring is a comprehensive framework that provides various modules for different functionalities like dependency injection, aspect-oriented programming, etc.
SpringBoot is an opinionated tool that simplifies the setup and configuration of Spring applications by providing defaults and auto-configuration.
SpringBoot reduces the need fo...read more
Q3. What are checked and unchecked exceptions?
Checked exceptions are exceptions that must be either caught or declared in the method signature, while unchecked exceptions do not need to be caught or declared.
Checked exceptions are subclasses of Exception class, excluding RuntimeException and Error.
Checked exceptions are checked at compile time, so the compiler forces the programmer to handle them.
Unchecked exceptions are subclasses of RuntimeException and Error classes.
Unchecked exceptions are not checked at compile time...read more
Q4. Diff between Stirling and string buffer
Stirling is a mathematical formula for approximating factorials, while StringBuffer is a mutable sequence of characters.
Stirling is used to calculate large factorials, while StringBuffer is used to manipulate strings efficiently.
Stirling's formula is n! ≈ √(2πn) * (n/e)^n, while StringBuffer has methods like append(), insert(), and delete() for string manipulation.
Stirling is a mathematical concept, while StringBuffer is a Java class.
Q5. What are java 8 concepts
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions allow you to write code in a more concise way.
Streams provide a way to work with sequences of elements and perform operations on them.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Default methods allow interfaces to have method implementations.
Optional class helps to handle null values more effectively...read more
Q6. select 8 form A,A
The question is asking to select 8 forms from set A.
Understand the elements in set A
Select 8 forms from set A based on the requirements
Ensure the selected forms are distinct and meet the criteria
More about working at JPMorgan Chase & Co.
Interview Process at Greenview Interiors
Top Java Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month