Java questions and answers
The JVM, collections, Spring and build tooling. Page 7 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 361-420
- Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined
- Class JavaLaunchHelper is implemented in two places
- Class Not Found Empty Test Suite in IntelliJ
- ClassNotFoundException for javax.xml.bind.JAXBException with Spring Boot when switch to Java 9
- ClassNotFoundException with Kafka consumer
- Classpath is empty. Please build the project first e.g. by running './gradlew jar -PscalaVersion=2.11.12
- Classpath resource not found when running as jar
- Classpath resource not found when running as jar
- Cleanest way to toggle a boolean variable in Java?
- Closing a blocking queue
- codestyle; put javadoc before or after annotation?
- Collections.binarySearch vs. List indexOf
- Collections.emptyList() returns a List<Object>?
- Collections.emptyList() vs. new instance
- Collision detection between two rectangles in java
- Combining multiple SuppressWarnings annotations - Eclipse Indigo
- Combining Overlapping Date Ranges - Java
- Combining Unknown number of Observables in RxJava
- com.jcraft.jsch.JSchException UnknownHostKey
- Command line progress bar in Java
- Common algorithm for generating a diff of the fields in two beans?
- com.mysql.jdbc.exceptions.jdbc4.CommunicationsException Communications link failure
- Compare every item to every other item in ArrayList
- Compare if BigDecimal is greater than zero
- Compare Protocol in Swift vs Interface in Java
- Compare Protocol in Swift vs Interface in Java
- Compare strings in java and remove the part of string where they are identical
- Compare two objects in Java with possible null values
- Comparing arrays in JUnit assertions, concise built-in way?
- Comparing strings with which are declared final in Java
- Comparing two java.util.Dates to see if they are in the same day
- Compilation error after upgrading to JDK 21 - NoSuchFieldError JCImport does not have member field JCTree qualid
- Compile error Class file has wrong version 52.0, should be 50.0
- CompletableFuture in loop How to collect all responses and handle errors
- CompletableFuture not working as expected
- CompletableFuture thenApply vs thenCompose
- CompletableFuture vs Async
- CompletableFuture vs Spring Transactions
- CompletableFutureT class join vs get
- Computational Complexity of TreeSet methods in Java
- Concatenating null strings in Java
- concatenating two int in java
- Concept of promises in Java
- Concurrent JUnit testing
- ConcurrentHashMap read and write locks
- ConcurrentHashMap vs Synchronized HashMap
- ConcurrentModificationException - Lamport distributed system
- Condition vs wait notify mechanism
- Conditionally ignoring tests in JUnit 4
- Configuration on demand is not supported by the current version of the Android Gradle plugin
- Configuration using the @SpringBootApplication annotation
- ConfigurationProperties default values in a bound class
- ConfigurationProperties does not bind properties
- ConfigurationProperties prefix not working
- ConfigurationProperties Spring Boot Configuration Annotation Processor not found in classpath
- ConfigurationProperties vs PropertySource vs Value
- Configure a new serializer for spring-boot redis cache config
- Configure active profile in SpringBoot via Maven
- Configure DataSource programmatically in Spring Boot
- Configure logback using several profiles

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