Java questions and answers
The JVM, collections, Spring and build tooling. Page 16 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 901-960
- 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 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
- getResourceAsStream returns null
- getResourceAsStream vs FileInputStream
- getString Outside of a Context or Activity
- Getting Ambiguous ExceptionHandler method mapped for MethodArgumentNotValidException while startup of spring boot application
- Getting an element from a Set
- Getting Broker may not be available error when spring boot container tries to connect kafka container
- Getting cannot find Symbol in Java project in IntelliJ
- Getting ClassNotFoundException when trying to run simple java rmi
- Getting exclusive system-wide lock in Java
- Getting Gradle dependencies in IntelliJ IDEA using Gradle build
- Getting hold of the outer class object from the inner class object
- Getting Java version at runtime
- Getting java.lang.ClassNotFoundException org.apache.commons.logging.LogFactory exception
- Getting java.lang.IllegalStateException Tried to lookup lag for unknown task 3_0 after upgrading Kafka Stream from 2.5.1 to 2.6.2

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