Java questions and answers
The JVM, collections, Spring and build tooling. Page 17 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 961-1020
- Getting java.nio.file.AccessDeniedException on kafka on Windows
- Getting NoSuchMethodError javax.servlet.ServletContext.addServlet in Spring Boot while running a Spring MVC application
- Getting NullPointerException while connecting with ignite server node
- Getting random numbers in Java
- Getting Spring Application Context
- Getting Spring Boot color console logging working within Intellij?
- Getting the array length of a 2D array in Java
- Getting the class name from a static method in Java
- Getting the Gradle.build version into Spring Boot
- Getting the IP address of the current machine using Java
- Git Ignores and Maven targets
- Given that HashMaps in jdk1.6 and above cause problems with multithreading, how should I fix my code
- Global variables in Java
- Good examples using java.util.logging
- Good Java graph algorithm library?
- Good Java graph algorithm library?
- Good practice when using kafka with jpa
- Good reasons to prohibit inheritance in Java?
- google-services.json for different productFlavors
- Google Guava vs. Apache Commons
- GoTo Next Iteration in For Loop in java
- Grab a segment of an array in Java without creating a new array on heap
- Gradient Descent Linear Regression in Java
- Gradle - Could not target platform 'Java SE 8' using tool chain 'JDK 7 1.7
- Gradle - Error Could not find method implementation for arguments com.android.supportappcompat-v726.0.0
- Gradle build without tests
- Gradle Could not determine java version from '11.0.2
- Gradle does not find tools.jar
- Gradle DSL method not found 'runProguard
- Gradle Execution failed for task 'processDebugManifest
- Gradle finds wrong JAVA_HOME even though it's correctly set
- Gradle Implementation vs API configuration
- gradle process command java finished with non-zero exit value 1
- Gradle proxy configuration
- Gradle script to autoversion and include the commit hash in Android
- Gradle Version 2.10 is required. Error
- Gson - convert from Json to a typed ArrayListT
- Gson - convert from Json to a typed ArrayListT
- GSON - Date format
- Gson Directly convert String to JsonObject (no POJO)
- Gson How to exclude specific fields from Serialization without annotations
- GSON throwing Expected BEGIN_OBJECT but was BEGIN_ARRAY?
- GSON throwing Expected BEGIN_OBJECT but was BEGIN_ARRAY?
- H2 database console spring boot Load denied by X-Frame-Options
- Hadoop NoClassDefFoundError when adding external Jar
- Handling exceptions from Java ExecutorService tasks
- Handling exceptions from Java ExecutorService tasks
- Handling InterruptedException in Java
- Handling InterruptedException in Java
- Has been compiled by a more recent version of the Java Runtime class file version 57.0
- `Hash` Set and Array List performances
- HashMap - contains and get methods should not be used together
- HashMap - getting First Key value
- HashMap get/put complexity
- HashMap Space Complexity
- HashMap to return default value for non-found keys?
- HashMap with multiple values under the same key
- HashSet that preserves ordering
- HashSet vs LinkedHashSet
- Hazelcast - OperationTimeoutException

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