Java questions and answers
The JVM, collections, Spring and build tooling. Page 4 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 181-240
- AWS DynamoDB and MapReduce in Java
- AWS DynamoDB Object Persistence Model My class is unsupported, it cannot be instantiated
- AWS Java SDK - AWS authentication requires a valid Date or x-amz-date header
- AWS Java SDK - Unable to find a region via the region provider chain
- AWS Java SDK not finding profile when using AWS SSO
- AWS lambda and Java concurrency
- AWS Lambda NoClassDefFoundError
- AWS Polly Java Client gives error Unable to load region information from any provider in the chain
- AWS S3 Java SDK - Access Denied
- Bad Request - This combination of host and port requires TLS. with Spring Boot
- Base64 Java encode and decode a string
- Basic Distributed Counter using Java Sockets
- Bean instantiation via factory method failed; exception org.springframework.beans.BeanInstantiationException
- BeforeStep not being called in AsyncProcessor
- Behaviour of SecureRandom
- Best HashMap initial capacity while indexing a List
- Best implementation for hashCode method for a collection
- Best learning algorithm to make a decision tree in java?
- Best learning algorithm to make a decision tree in java?
- Best practice for configuring Spring LdapTemplate via annotations instead of XML?
- Best practice to validate null and empty collection in Java
- Best way of creating and using an anonymous Runnable class
- Best way of handling entities inheritance in Spring Data JPA
- Best way to add Gradle support to IntelliJ Project
- Best way to compare 2 XML documents in Java
- Best way to convert an ArrayList to a string
- Best way to convert list to comma separated string in java
- Best way to list files in Java, sorted by Date Modified?
- Best way to load some JSON files into a Spring Boot application
- Best way to merge and remove duplicates from multiple lists in Java
- Best way to negate an instanceof
- Best way to parseDouble with comma as decimal separator?
- Best XML parser for Java
- Big-O summary for Java Collections Framework implementations?
- BigDecimal equals versus compareTo
- BigDecimal setScale and round
- Binding a list in RequestParam
- Bitwise operator advantages in StringBuilder
- Boolean vs boolean in Java
- bootstrap.yml configuration not processed anymore with Spring Cloud 2020.0
- Break or return from Java 8 stream forEach?
- Breakpoint at throw new SilentExitException in Eclipse Spring Boot
- Build an object from an existing one using lombok
- Build jar and run spring boot from cmd
- Build project into a JAR automatically in Eclipse
- Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'build.gradle
- Building a general DynamoDBMarshalling for enums
- Building and running app via Gradle and Android Studio is slower than via Eclipse
- Building vs. Compiling Java
- Built-in Java 8 predicate that always returns true?
- Bulk insert with Spring Boot and Spring Data JPA not working
- By default, where does Spring Boot expect views to be stored?
- byte[] to file in Java
- Bytes of a string in Java
- C equivalent of java's instanceof
- C equivalent to Java's Exception.printStackTrace?
- C# Java HashMap equivalent
- C# version of java's synchronized keyword?
- C version of java's synchronized keyword?
- C vs Java Enum for those new to C

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