0% found this document useful (0 votes)
34 views6 pages

Interview Questions 1

The document lists frequently asked interview questions for a full stack Java developer role. It covers topics such as core Java concepts, OOPs concepts, threads, collections, Java 8 features, Spring Boot, JPA, MySQL, JUnit, Angular and common programming scenarios. The questions focus on understanding fundamentals as well as hands-on experience with technologies like Spring Boot, JPA, Angular and data structures.

Uploaded by

irahulrajrr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views6 pages

Interview Questions 1

The document lists frequently asked interview questions for a full stack Java developer role. It covers topics such as core Java concepts, OOPs concepts, threads, collections, Java 8 features, Spring Boot, JPA, MySQL, JUnit, Angular and common programming scenarios. The questions focus on understanding fundamentals as well as hands-on experience with technologies like Spring Boot, JPA, Angular and data structures.

Uploaded by

irahulrajrr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Frequently asked Interview Questions for Full Stack Java Developer:

Core Java -

OOPS concepts

Abstraction, Encapsulation, Inheritance and polymorphism

composition and aggregation

what is polymorphism and its types

Abstract class vs Interface

super class of all classes?

Wrapper class

use of Static keyword

final, finally, finalize

when will finally block execute and when not execute?

Singleton Class

Mutable vs Immutable

why string is immutable

what is string pool

StringBuffer vs StringBuilder

Checked vs Unchecked Exception

Super class of exception

Transient, Volatile, Super keyword

Comparable and Comparator and how it works ?

Garbage Collector

------------------------------------------------------------------------------------------------------------------------
Thread -

what is Thread and ways to create thread?

Thread vs Runnable

wait, notify, sleep, join, yield in Multithreading

deadlock

Serialization and use of serialversionId?

Synchronization

------------------------------------------------------------------------------------------------------------------------

Collections -

Hashmap internal working

HashSet internal working

Hash Collisions?

hashMap vs HashTable

HashSet, Arraylist, linkedlist

FlatMap

Fail Fast vs Fail Safe

why it is Fail Safe

ConcurrentHashMap vs SynchronisedHashMap

How we achieve SynchronisedHashMap?

------------------------------------------------------------------------------------------------------------------------

Java 8 -

Java 8 features

Lambda Expression and syntax?

Collections stream and its methods

Stream vs ParallelStream
what is the use of default methods?

functional interface vs Marker Interface?

Predicate, Supplier, Consumer

why Multiple inheritance supports in Java 8?

What is the use Optional keyword?

------------------------------------------------------------------------------------------------------------------------

Springboot -

how to create springboot application

Spring MVC vs Springboot

What is Dependency Injection(DI)?

What is the use of IOC container?

Annotations in SpringBoot

@SpringBootApplication, @EnableAutoConfiguration, @ComponentScan, @Bean, @Autowired,


@Configuration

@Qualifier, @Primary

Spring Security

Spring Actuator

Exception Handling

@ControllerAdvice, @ExceptionHandler

What are design patterns?

how does Singleton design pattern works?

use of Dispatcher Servlet?

how to read a value from application.properties?

REST vs SOAP

RESTful web services

@RestController vs @Controller
GET, PUT, POST, PATCH, DELETE

@RequestParam, @RequestBody, @RequestMapping, @ResponseBody

@PathVariable, @GetMapping, @PutMapping, @Validated, @Valid

JWT Tokens

------------------------------------------------------------------------------------------------------------------------

Microservices -

[For better understanding of Microservices with SpringBoot, kindly check the practical video in youtube
(Channel name - Daily Code Buffer | Video name - Microservices using SpringBoot)]

https://www.youtube.com/watch?v=BnknNTN8icw&t=4004s

what is Microservices Architecture?

Why Microservices, how it deploy?

Service registry

Config Server

Hystrix

API Gateway - Spring Cloud

@LoadBalancer

------------------------------------------------------------------------------------------------------------------------

JPA -

what is Hibernate and JPARepository?

@Query, native query?

@Repository, @Entity, @Id, @JoinColumn

Associations - @OnetoOne, @OnetoMany, ..

transient

JoinColumn annotation

how implement LazyLoad

use of dialect
------------------------------------------------------------------------------------------------------------------------

MySQL -

Delete, Drop, Truncate

SQLInjection

OrderBy, Having, GroupBy

use of PreparedStatement?

find 2nd highest Salary in Employee table ?

------------------------------------------------------------------------------------------------------------------------

JUnit-

How to create Junit Test files?

Mockito vs PowerMockito

@InjectMock vs @Mock

------------------------------------------------------------------------------------------------------------------------

Angular 8 -

Lifecycle of Angular

Advantages of Angular

AngularJS vs Angular

what is TypeScript?

types of Compilation in Angular?

use of Components?

Observable vs Promise

types of Directives and its use ?

Parent, Child Components

Data binding

Constructor vs ngOnInit
pipes

interpolation

AngularCLI

bootstrap

Angular Router

NgModules

decorators

------------------------------------------------------------------------------------------------------------------------

Scenario Programs:

Sort the Object values using Comparable - compareTo method

GroupingBy the Object values using Stream Collections

find the duplicates in the array values? -> check using hashMap.contains

You might also like