Interview questions and answers
-
Object-oriented programming(OOPS)
- OOPS
- Abstraction
- Encapsulation
- Polymorphism
- Abstract Class
- Does Abstract class have constructor?
- Abstract class Vs Interface
- What to choose – interface or abstract class
- Why Java 8 has introduced default methods?
- Why Java 8 has introduced static methods?
- Why Java does not allow multiple inheritance?
- Method Overloading and Overriding
- OOPS
-
Java
-
- Java 8
- Why String is Immutable?
- StringBuffer and StringBuilder
- equals and hashcode contract
- Comparable and Comparator interfaces
- static keyword
- Shallow Copy and Deep Copy
- Serialization and De-serialization
- Serialization scenarios with Inheritance
- How to make a class Immutable?
- Class loaders in Java
- Garbage Collector
- String, StringBuffer, StringBuilder
- Reflection
- Exceptions
- Generics in Java
-
- Life Cycle of a Thread
- Creating a Thread
- Life Cycle of a Thread
- Creating a Thread
- What does join() method?
- Deadlock
- How to avoid deadlock?
- What will happen if I directly call the run() method and not the start() method to execute a thread?
- Once a thread has been started can it be started again?
- Why wait, notify and notifyAll methods are defined in the Object class instead of Thread class?
- Why wait(), notify(), notifyAll() methods must be called from synchronized block?
- wait() vs sleep() methods
- Executor Framework
- Test
-
-
Spring
- Spring
- Dependency Injection
- BeanFactory and ApplicationContext
- Spring Bean life-cycle
- Spring Bean Scopes
- What happens when we inject a prototype scope bean in a singleton scope bean?
- How to inject a prototype scope bean in a singleton scope bean?
- Stereotype Annotations
- @Controller vs @RestController annotation
- @Qualifier annotation
- @Transactional annotation
- @ControllerAdvice annotation
- @Bean annotation
- @Component vs @Bean annotation
- Spring Boot Security using OAuth2 with JWT
- OAuth2 Terminology
- Json Web Token(JWT)
- Spring Boot Rest Authentication with JWT Token Flow
- Spring Transaction Management
- Spring
-
HTTP Verbs
-
HTTP Status Codes
-
Hibernate
-
Angular interview questions and answers
- Angular
- AngularJS vs Angular
- Angular Module
- Bootstrapping Module
- JIT vs AOT compilation
- Advantages of AOT
- What are the ways to control AOT compilation?
- How to optimize loading large data in angular?
- How an Angular application gets started or loaded?
- Angular Services
- What is Interpolation
- Angular Routing and Navigation
- Angular Component
- Angular Directive
- Angular Pipes
- Angular Data Binding
- Angular Lazy Loading
- Angular Lifecycle Hooks
- RxJS
- Angular
-
Design Patterns interview questions and answers
-
Microservices
- Microservices
- Advantages of Microservices Architecture
- Disadvantages of Microservices
- Challenges of Microservices Architecture
- Gateway
- Microservices Monitor
- Microservices vs Monolithic Architecture
- How does Microservice Architecture work?
- Communicating Between Microservices
- SOAP vs REST
- Eureka Naming Server
- Zuul
- Zipkin
- Hysterix
- Microservices
-
Kafka
- Kafka
- Advantages of Kafka
- Offset in Kafka
- Consumer group in Kafka
- ZooKeeper in Kafka
- Can I use Kafka without Zookeeper?
- What is Zookeeper in Kafka? Can we use Kafka without Zookeeper?
- Partition in Kafka
- APIs of Kafka
- Load balancing of the server in Kafka
- Retention period in Kafka cluster
- RabbitMQ vs Apache Kafka
- Explain Apache Kafka Use Cases?
- Kafka Cluster, and its key benefits
- Replicas in Kafka
- Starting a Kafka server
- In the Producer, when does QueueFullException occur?
- Confluent Kafka vs. Apache Kafka
- Kafka
-
MongoDB
-
Database Database
-
Maven
-
Unix
-
DevOps Tools