Java questions and answers
The JVM, collections, Spring and build tooling. Page 3 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 121-180
- Apache Kafka Exception causing close of session <xx> due to java.io.IOException Unreasonable length
- Apache Kafka Failed to Update Metadata/java.nio.channels.ClosedChannelException
- Apache Kafka integration with tomcat and spring
- Apache Kafka Java Classes?
- Apache Storm java.nio.channels.ClosedChannelException null
- API 'variant.getExternalNativeBuildTasks' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders
- ApiResponse with empty response body Spring Boot
- Apparent connection leak detected with Hikari CP
- Application version does not show up in Spring Boot banner.txt
- ApplicationContextException Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
- application.yml vs application.properties for Spring Boot
- Are Android's BroadcastReceivers started in a new thread?
- Are arrays passed by value or passed by reference in Java?
- Are final static variables thread safe in Java?
- Are getCacheFiles() and getLocalCacheFiles() the same?
- Are Java static initializers thread safe?
- Are non-synchronised static methods thread safe if they don't modify static class variables?
- Are static methods inherited in Java?
- Are there any big spring-boot open source projects?
- Are there any cases when it's preferable to use a plain old Thread object instead of one of the newer constructs?
- Are there any cases when it's preferable to use a plain old Thread object instead of one of the newer constructs?
- Are there any Java method ordering conventions?
- Are there any problems with this way of starting an infinite loop in a Spring Boot application?
- Are there best practices for Java package organization?
- Are Thread.sleep0 and Thread.yield statements equivalent?
- Are volatile variable 'reads' as fast as normal reads?
- ArithmeticException Non-terminating decimal expansion; no exact representable decimal result
- Array or List in Java. Which is faster?
- ArrayList initialization equivalent to array initialization
- ArrayList.sort vs PriorityQueue
- Arrays.asList vs Collections.singletonList
- Assert equals between 2 Lists in Junit
- AssertContains on strings in jUnit
- Async API endpoint Spring Webflux
- Async Aspect AfterReturnung. My method has HttpServletRequest object as method argument, but able to access it my aop method
- Async communication between spring boot micro services
- Async not working for method having return type void
- Async not working in Spring API rest with Interfaces
- Async Spring Controllers vs normal Controllers
- Async timeout downloading a large file using StreamingResponseBody on Spring Boot
- AsyncContext response does not match original incoming request?
- Asynchronous event triggers in a distributed system? (java)
- Asynchronous execution in Java EE
- asynchronous function calls in Java
- Asynchronous HTTP client with Netty
- Asynchronous non-blocking remote logging in Java?
- Asynchronous processing using virtual threads and Async annotation
- Asynchronous task within scheduler in Java Spring
- Asynchronously populating a Java Map and returning it as a future
- AsyncResponse ConnectionCallback does not fire in Jersey
- AsyncTask threads never die
- At runtime, find all classes in a Java application that extend a base class
- Atomically incrementing counters stored in ConcurrentHashMap
- Autowired says field injection not recommended
- Avoid performing Spring Async task twice at the same time
- Avoid reporting Broken Pipe errors to Sentry in a Spring Boot application
- Avoid synchronized(this) in Java?
- Avoid synchronizedthis in Java?
- Avro decoding gives java.io.EOFException
- AWS Can not deserialize instance of java.lang.String out of START_OBJECT

Course
Intermediate
27 lessons
14 hours
OOD Fundamentals
Master object-oriented design from first principles, SOLID, design patterns, and classic interview problems with hands-on coding.
View the course