Java questions and answers
The JVM, collections, Spring and build tooling. Page 6 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 301-360
- Cannot create namespace in multi-document transactionMongoDB 4.0, Spring Data 2.1.0, Spring Boot
- Cannot deserialize value of type java.util.Date from String
- Cannot disable Spring Cloud Config via spring.cloud.config.enabledfalse
- Cannot find MessageMatcherDelegatingAuthorizationManager class while trying to configure websocket security in Spring Boot 3
- Cannot get maven project.version property in a Spring application with Value
- Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
- Cannot invoke org.springframework.web.servlet.mvc.condition.PatternsRequestCondition.getPatterns because this.condition is null
- Cannot load driver class org.h2.Driver in spring boot application
- Cannot refer to a non-final variable inside an inner class defined in a different method
- Cannot resolve method 'antMatchers' in AuthorizationManagerRequestMatcherRegistry
- Cannot resolve symbol 'AppCompatActivity
- Cannot Resolve Symbol SpringBootApplication - IntelliJ DEA
- Can't Autowire Repository annotated interface in Spring Boot
- Cant autowire WebTestClient - no auto configuration
- Can't avoid hibernate logging SQL to console with Spring Boot and Logback
- Can't compile project when I'm using Lombok under IntelliJ IDEA
- Can't create handler inside thread that has not called Looper.prepare()
- Can't execute jar- file 'no main manifest attribute
- Can't find Nullable inside javax.annotation.
- Can't set JPA naming strategy after configuring multiple data sources Spring 1.4.1 / Hibernate 5.x
- Can't start Eclipse - Java was started but returned exit code=13
- can't start eclipse - java was started but returned exit code=13
- Capture Image from Camera and Display in Activity
- Cardinal direction algorithm in Java
- Case insensitive string as HashMap key
- Cassandra 3.0 and later require Java 8u40 or later
- Cassandra Java Driver- QueryBuilder API vs PreparedStatements
- Cassandra Java Driver How are insert, update, and delete results reported?
- CassandraThe stack size specified is too small, Specify at least 228k
- Cast Double to Integer in Java
- Cast Int to enum in Java
- Cast ListT to ListInterface
- Cast Object to Generic Type for returning
- Catch a thread's exception in the caller thread?
- Cause buildOutput.apkData must not be null
- Cause ERROR Recursive call to appender. Is there a way to solve it?
- Caused by org.apache.logging.log4j.LoggingException log4j-slf4j-impl cannot be present with log4j-to-slf4j
- Causes of getting a java.lang.VerifyError
- Change database schema used by Spring Boot
- Change date format in a Java string
- Change Name of Import in Java, or import two classes with the same name
- Change private static final field using Java reflection
- Changing Java Date one hour back
- Changing the current working directory in Java?
- CharSequence VS String in Java?
- Check for the existence of a Kafka topic programatically in Java
- Check if a Class Object is subclass of another Class Object in Java
- Check if a value exists in ArrayList
- Check if null Boolean is true results in exception
- Check two arguments in Java, either both not null or both null elegantly
- Checking for a null int value from a Java ResultSet
- Checking if a string is empty or null in Java
- Checking that a List is not empty in Hamcrest
- Checking the existence of topic in kafka before creating in Java
- Choose between ExecutorService's submit and ExecutorService's execute
- Choose between ExecutorService's submit and ExecutorService's execute
- Choosing between Thymeleaf and Angular for a new Spring MVC project
- Circular View path error Spring boot
- Clarification of statement of performance of collection's binary search from javadoc
- Class has been compiled by a more recent version of the Java Environment

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