Java questions and answers
The JVM, collections, Spring and build tooling. Page 15 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 841-900
- Find a class somewhere inside dozens of JAR files?
- Find a private field with Reflection?
- Find Oracle JDBC driver in Maven repository
- Find where java class is loaded from
- Finding Key associated with max Value in a Java Map
- Finding Number of Cores in Java
- Finding the first duplicate in an int array, java
- Finding the max/min value in an array of primitives using Java
- Finding the second highest number in array in Java
- findResource returning null when module-info.java is present, why is that?
- FixedThreadPool vs CachedThreadPool the lesser of two evils
- Flaky tests of async spring controller with MockMvc
- flatZip in RxJava
- Float and double datatype in Java
- flutter doctor --android-licenses gives a java error
- Flyway and Spring Boot integration
- Flyway repair with Spring Boot
- For a boolean field, what is the naming convention for its getter/setter?
- For Spring Boot 1.2.3, how to set ignore null value in JSON serialization?
- Format a date using the new date time API
- Formatting date in Thymeleaf
- Found multiple occurrences of org.json.JSONObject on the class path
- Four color theorem Java implementation of U.S. map
- functional interface that takes nothing and returns nothing
- Functional style of Java 8's Optional.ifPresent and if-not-Present?
- GCP dataproc - java.lang.NoClassDefFoundError org/apache/kafka/common/serialization/ByteArraySerializer
- Generate Java class from JSON?
- Generate UML Class Diagram from Java Project
- Generating a Random Number between 1 and 10 Java
- Generating All Combinations of List n Levels Deep in Java
- Generating random date in a specific range in JAVA
- generating Variations without repetitions / Permutations in java
- Generic return type upper bound - interface vs. class - surprisingly valid code
- Get a BigInteger attribute from Cassandra ResultSet
- Get a list of all threads currently running in Java
- Get a list of resources from classpath directory
- Get a sublist from an ArrayList efficiently
- Get an OutputStream into a String
- Get command-line arguments from spring-bootrun
- Get first and last day of month using threeten, LocalDate
- Get first or last entry of a LinkedHashMap
- Get generic type of java.util.List
- Get integer value of the current year in Java
- Get java.nio.file.Path object from java.io.File
- Get keys from HashMap in Java
- Get last element of Stream/List in a one-liner
- Get list of JSON objects with Spring RestTemplate
- Get Maven artifact version at runtime
- Get name of currently executing test in JUnit 4
- Get only part of an Array in Java?
- Get query from java.sql.PreparedStatement
- Get source JARs from Maven repository
- Get specific ArrayList item
- Get spinner selected items text?
- Get spring application environment in thymeleaf
- Get the length of a String
- Get the POST request body from HttpServletRequest
- Get type of a generic parameter in Java with reflection
- Get Value of a Edit Text field
- Get value of a public static field via reflection
System design interview problems on Java
- Design an API Rate Limiter: solution and walkthrough
- Design a Distributed Messaging System: solution and walkthrough
- Design an Online Payment Service: solution and walkthrough
- Design a Key Value Store: solution and walkthrough
- Design a Task Scheduler: solution and walkthrough

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