Java questions and answers
The JVM, collections, Spring and build tooling. Page 12 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 661-720
- differences between 2 JUnit Assert classes
- Differences between Ant and Maven
- Differences between dependencyManagement and dependencies in Maven
- Differences between Exception and Error
- Differences between jar and war in Spring Boot?
- Differences between Java 8 Date Time API (java.time) and Joda-Time
- Differences between MSIL and Java bytecode?
- Differences between Oracle JDK and OpenJDK
- Different results with Java's digest versus external utilities
- Different ways of loading a file as an InputStream
- Dijkstra algorithm for 2D array in Java
- Directed Graph Processing in Java
- Disable a particular Checkstyle rule for a particular line of code?
- Disable all Database related auto configuration in Spring Boot
- Disable Basic Authentication while using Spring Security Java configuration
- Disable Cloudformation in Spring Cloud AWS
- Disable IntelliJ Starred Package Imports?
- Disable Logback in SpringBoot
- Disable redis when many timeouts using spring boot
- Disable security for unit tests with spring boot
- Disable spring boot actuator endpoints java config
- Disable Spring Security config class for WebMvcTest in Spring Boot
- Disable SSL as a protocol in HttpsURLConnection
- Disabling Kafka Listeners for a particular Spring Boot test
- disabling spring security in spring boot app
- Disconnect client session from Spring websocket stomp server
- DispatcherServlet and web.xml in Spring Boot
- display application version in title using thymeleaf and springboot
- Display the current time and date in an Android application
- Distribute subscribers across JVMs
- Distribute using EJBs or replicate?
- Distributed Cache Jar in classpath but getting ClassNotFoundException
- Distributed Java Application with RestFul
- Distributed search system JAVA
- DistributedCache - third party jar not found
- Distributing events across different JVMs with Axon Server to Subscribing Event Processors (without Event Sourcing)
- Do fragments really need an empty constructor?
- Do I have to specify a variable for each identical argument in String.format?
- Do I need to close both FileReader and BufferedReader?
- Do I need to synchronize a call to the interrupt method?
- Do interfaces inherit from Object class in java
- Do Java arrays have a maximum size?
- Do sealed classes really offer performance benefits?
- Do spurious wakeups in Java actually happen?
- Do spurious wakeups in Java actually happen?
- Do subclasses inherit private fields?
- Do the parentheses after the type name make a difference with new?
- docker-compose - externalize spring application.properties
- Docker unable to access jar file
- Does a finally block run even if you throw a new Exception?
- Does a locked object stay locked if an exception occurs inside it?
- Does application.yml support environment variables?
- Does application.yml support environment variables?
- Does Asynchronous have a Timeout
- Does atomic variables guarantee memory visibility?
- Does Fabric8io K8s java client support patch or rollingupdate using YAML snippets?
- Does HashSet preserve insertion order?
- Does it make sense to do try-finally without catch?
- Does Java allow a volatile read to be optimized away if the value isn''t needed, also removing the happens-before synchronization?
- Does Java Garbage Collect always has to Stop-the-World?

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