Fullstack Java Application Developer
Fullstack Java Application Developer Interview Questions and Answers for Freshers

Asked in CitiusTech

Q. What is a singleton class and how do you implement it?
Singleton class is a class that can only have one instance and provides a global point of access to it.
Singleton class restricts the instantiation of a class to one object.
It provides a way to access its unique instance globally.
Commonly used in scenarios where only one instance of a class is needed, such as database connections or thread pools.

Asked in Atos

Q. What are the use cases for Java?
Java is a versatile programming language used for developing a wide range of applications, from web and mobile apps to enterprise systems.
Java is used for developing web applications, mobile applications, desktop applications, and enterprise systems.
It is commonly used in backend development for server-side programming.
Java is also used in game development, scientific applications, and big data processing.
It is platform-independent, meaning Java programs can run on any device...read more

Asked in CitiusTech

Q. Given an array of integers, find all pairs of elements whose sum is equal to a specified target value.
The task is to find all pairs in an array that add up to a given sum.
Iterate through the array and store each element in a hash set.
For each element, check if the difference between the sum and the element exists in the hash set.
If it does, add the pair to the result list.

Asked in Infosys

Q. How do you add a dependency?
To add a dependency, you need to specify it in the project's build file.
Open the build file (pom.xml for Maven or build.gradle for Gradle)
Add the dependency in the appropriate section
Save the file and run the build command to download and install the dependency
Example:
com.example example-library 1.0.0

Asked in Infosys

Q. Explain the internal workings of a HashMap.
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to find the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap allows one null key and multiple null values.
The initial capacity and load factor can be specified when c...read more
Fullstack Java Application Developer Jobs



Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for Fullstack Java Application Developer Related Skills

Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

