Top Java Developer Interview Question And Answer
Here is the compiled list of the questions:
- String API vs Collections API
- Functional Interface
- arrow function
- java 1.7 vs 1.8 (Â Java 8 Documentation )
- the new feature in date Time API and what problem it solves
- what is a Bean
- What Is The Difference Between @Bean and @Component and When to Use What?
- Solution for Scoped Bean Injection Problem in Spring
- Factory vs abstract factory design pattern
- strategy design pattern
- isolation level in spring transaction
- classloader in java
- chain of responsibility principle
- Exception propagation in Thread
- cyclic barrier and countdown latches
- semaphores
- how to start two threads exactly same time
- Hibernate cache level
- procedure vs function
- union vs unionAll in SQL
- Functional Interface
- what is optional and what is the use of it.
- Immutable class and deep cloning
- map vs flat map
- sequential processing vs parallel processing
- what is the use of Lambda expression
- fork and join in java 8
- custom array list
- HashMap vs tree Map
- why null is not allowed in TreeMap
- java 8 new feature
- java 8 filter student list age>5 or any first find record with given condition / get list of student name only.
- io stream vs stream API
- Integer i=100 j=100 i==j if x=1000 y =1000 i==j?
- hibernate get vs load
- spring internal work
- class vs object lock
- write a program for an object lock
- type of scope in spring
- session vs session factory
- SQL joins
- write rest API
- multi-threading
- Database
- microservices
- the three-ton object like singleton
- facade decorated flyway design pattern
- spring IOC vs di
- bean scope
- @controller vs @Retcontroller vs @Service vs @Repository
- what change in the collection in java 8
- primary vs unique
- trigger
- HQL vs criteria query
- ClassNotFoundException vs NoClassDefFoundError
- Executer vs ExecuterService
- @SpringBootApplication use
- HashMap internal working – the algorithm used inside
- HashSet internal working – the algorithm used inside
- Joins?
- Hibernate load vs get?
- Hibernate cash type?
- java type reference
- java memory model
- database constraint
- Custom Exception
- equal vs hash code contract java
- IOC vs DI
- BeanFactory vs ApplicationContext
- Constructor vs setter autowire
- Hibernate vs mybaites
- count(1) is faster/optimized than count(*) because:
- Â count(*) has to iterate through all the columns,
- But count(1) iterates through only one column.
- count(*) vs count(1)
- JDBC vs hibernate which performance is good?
- so link list and array list are index base? performance? speed?
Java Concurrency related Topics
Java Concurrency is one of the most asked topics for java developers.Â
- Synchronization utilities
CountDownLatch in JavaÂ
CyclicBarrier in JavaÂ
Difference Between CountDownLatch And CyclicBarrier in Java
Phaser in JavaÂ
Exchanger in JavaÂ
Semaphore in Java - Concurrent Collections
ConcurrentHashMap in Java
Difference Between HashMap And ConcurrentHashMap in Java
CopyOnWriteArrayList in Java
Difference Between ArrayList And CopyOnWriteArrayList in Java
CopyOnWriteArraySet in Java
ConcurrentSkipListMap in Java
ConcurrentSkipListSet in Java
ConcurrentLinkedQueue in Java
ConcurrentLinkedDeque in Java - BlockingQueue
BlockingQueue in Java Concurrency
ArrayBlockingQueue in Java Concurrency
LinkedBlockingQueue in Java Concurrency
PriorityBlockingQueue in Java Concurrency
SynchronousQueue in Java
DelayQueue in Java Concurrency
LinkedTransferQueue in Java - Locks
ReentrantLock in Java Concurrency
Difference Between ReentrantLock And Synchronized
ReentrantReadWriteLock in Java
StampedLock in Java - BlockingDeque
BlockingDeque in Java Concurrency
LinkedBlockingDeque in Java - Executors
Callable And Future in Java Concurrency
Difference Between Runnable And Callable in Java
Executor And ExecutorService in Java Concurrency
ThreadPoolExecutor – Java Thread Pooling With ExecutorService
Java ScheduledThreadPoolExecutor – Task Scheduling in Java
CompletableFuture in Java With Examples
Atomic variables
AtomicInteger in Java Concurrency
AtomicLong in Java Concurrency - Concurrency concepts
Lock Striping in JavaÂ
Non-Blocking Algorithms
Busy Spinning in Multi-Threading
Blocking Methods in JavaÂ
Java Concurrency interview questions
Java Concurrency Interview Questions And Answers.
Topic-wise Interview Questions List ( Link will come soon)
-
- Java OOP Interview Questions And Answers
- Core Java Basics Interview Questions And Answers
- Java String Interview Questions And Answers
- Java Exception Handling Interview Questions And Answers
- Java Multithreading Interview Questions And Answers
- Java Collections Interview Questions And Answers
- Java Concurrency Interview Questions And Answers
- Java Lambda Expressions Interview Questions And Answers
- Java Stream API Interview Questions And Answers
These are some compiled lists of Java Developer Interview Question And Answer
If you like to be a Java Full Stack Developer, please read our article Full-Stack: Your Guide to Becoming a Full-Stack Developer in 2021-22
Leave a Reply