Can a stream be reused? i.e. can you try to finalise a stream twice? i.e. can you call collect on a stream twice?
Java Software Developer Interview Questions
4,188 java software developer interview questions shared by candidates
How do you find using annotations? Do you like it? What is the tradeoff?
How do you guarantee the security of the system?
How do you find Java's performance?
What is java Oops concept
Find frequency of character using maps
What Java, JVM, .class, bytecode other basic question
what is Collections, HahMap What is hashing? how to avoid collision while hashing. Write a simple hash function
First Round (Technical Interview): Project-related: -Are the classes in my project immutable? -Difference between PUT and POST API calls. -What happens if a POST API is called repeatedly? Java Coding & Concepts: -Declaring an array of Employee objects (name, salary, age). -Retrieve employees with a salary > 50K and age < 25 using a for-loop and Lambda expression. -Functional interfaces. -LinkedHashSet – Implementation and adding elements. -Difference between checked and unchecked exceptions. -Difference between String and StringBuilder. -Thread safety and the role of the synchronized keyword. -Merging two unsorted arrays into a sorted array. -Reverse a sorted array without using built-in functions. -Difference between Inheritance and Composition. -Spring Annotations – Difference between @Bean and @Component. Problem-Solving & Behavioral Questions: -Approach to solving a problem with limited resources. -A logic puzzle: Identifying the correct switch for three bulbs in another room with minimal trips. Second Round (Technical + HR Interview): NoSQL & Cassandra: -Basics of NoSQL databases. -Primary key attributes in Cassandra. -Identifying the node containing specific data when it is multiplied. -Replication at the keyspace level in Cassandra. Spring & Java: -Dependency Injection. -Features of Java 8 and Java 17. -Stereotypical annotations in Spring. -Beans and interaction with databases in Spring applications. Coding Questions: -Sorting an array of squared elements (including negative numbers). Git: -How to resolve merge conflicts. Personal Project Discussion: -Challenges faced and how they were overcome. -Features used in the project. HR Questions: -Problems faced (technical or personal) and how I handled them. -What I have been doing since graduation. -How I managed my time during the gap period.
Explain the following: 1. OOP 2. Difference between REST/SOAP 3. HTTP methods Situational developer questions Please don't only rely on the interview questions above, those are some of what I experienced during the technical interview. Do your best to practice web technology terms and how you can apply them/how did you apply them during your professional experience.
Viewing 3801 - 3810 interview questions