Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Wissen Technology Team. If you also belong to the team, you can get access from here

Wissen Technology Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Wissen Technology Java Developer Interview Questions and Answers

Updated 2 Jul 2025

74 Interview questions

A Java Developer was asked 3mo ago
Q. Given two sorted arrays, merge them into a single sorted array.
Ans. 

Merging two sorted arrays involves combining them into a single sorted array while maintaining order.

  • Use two pointers to track the current index of each array.

  • Compare the elements at both pointers and add the smaller one to the result array.

  • Increment the pointer of the array from which the element was taken.

  • Continue until all elements from both arrays are processed.

  • Example: Merging [1, 3, 5] and [2, 4, 6] results ...

A Java Developer was asked 5mo ago
Q. What is the difference between string literals and the string pool?
Ans. 

String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.

  • String literals are created using double quotes, while string pool objects are created using the 'new' keyword.

  • String literals are stored in the string pool to conserve memory and improve performance.

  • String literals are automatically interned by the JVM, while string pool objects need...

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk(). Parent run() calls walk(). Chi ... read more
asked in Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
Q4. How do you sort a list of students based on their first name?
asked in Cognizant
Q5. What array list and linkedlist difference,how hashmap internally ... read more
A Java Developer was asked 5mo ago
Q. What changes are required in the Employee class to use it as a key for a HashMap?
Ans. 

Add hashCode() and equals() methods to Employee class.

  • Override hashCode() method to generate a unique hash code for each Employee object.

  • Override equals() method to compare Employee objects based on their attributes.

  • Ensure that the attributes used in hashCode() and equals() methods are immutable.

  • Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on...

A Java Developer was asked 5mo ago
Q. What is the program to print the 90-degree rotated view of a 2D array?
Ans. 

Program to print the 90-degree rotated view of a 2D array.

  • Iterate through each column in reverse order and print the corresponding row elements.

  • Repeat this process for all columns to get the rotated view of the 2D array.

A Java Developer was asked 5mo ago
Q. Write a program to reverse a linked list.
Ans. 

Program to reverse a linked list

  • Create a new linked list to store the reversed elements

  • Traverse the original linked list and insert each node at the beginning of the new list

  • Update the head of the new list as the last node of the original list

A Java Developer was asked 5mo ago
Q. What are the different ways to create a thread in Java?
Ans. 

Ways to create a thread in Java include extending the Thread class, implementing the Runnable interface, and using Java 8's lambda expressions.

  • Extend the Thread class and override the run() method

  • Implement the Runnable interface and pass it to a Thread object

  • Use Java 8's lambda expressions with the Executor framework

A Java Developer was asked 5mo ago
Q. What is the concept of Object-Oriented Programming (OOP) and can you provide an example?
Ans. 

OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

  • OOP focuses on creating objects that interact with each other to solve a problem.

  • Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.

  • Inheritance allows objects to inherit attributes and methods from parent class...

Are these interview questions helpful?
A Java Developer was asked 5mo ago
Q. How do threads communicate with each other in Java?
Ans. 

Threads communicate in Java through shared memory or message passing.

  • Threads can communicate through shared variables in memory.

  • Threads can communicate through synchronized methods or blocks.

  • Threads can communicate through wait(), notify(), and notifyAll() methods.

  • Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.

A Java Developer was asked 5mo ago
Q. Implement a custom stack that allows fetching the minimum element in constant time, O(1).
Ans. 

Custom stack with constant time access to minimum element

  • Use two stacks - one to store elements and another to store minimum values

  • When pushing an element, compare with top of min stack and push the smaller value

  • When popping an element, pop from both stacks

  • Access minimum element in O(1) time by peeking at top of min stack

A Java Developer was asked 5mo ago
Q. How can one create an immutable class named Employee with fields for name and hobbies defined as List?
Ans. 

To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.

  • Use private final fields for name and hobbies in the Employee class

  • Provide a constructor to initialize the fields

  • Return new instances or unmodifiable lists in the getters to ensure immutability

Wissen Technology Java Developer Interview Experiences

27 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Dec 2024.

Round 1 - Technical 

(6 Questions)

  • Q1. Implement a custom stack that allows fetching the minimum element in constant time, O(1).
  • Ans. 

    Custom stack with constant time access to minimum element

    • Use two stacks - one to store elements and another to store minimum values

    • When pushing an element, compare with top of min stack and push the smaller value

    • When popping an element, pop from both stacks

    • Access minimum element in O(1) time by peeking at top of min stack

  • Answered by AI
  • Q2. How can one create an immutable class named Employee with fields for name and hobbies defined as List?
  • Ans. 

    To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.

    • Use private final fields for name and hobbies in the Employee class

    • Provide a constructor to initialize the fields

    • Return new instances or unmodifiable lists in the getters to ensure immutability

  • Answered by AI
  • Q3. What changes are required in the Employee class to use it as a key for a HashMap?
  • Ans. 

    Add hashCode() and equals() methods to Employee class.

    • Override hashCode() method to generate a unique hash code for each Employee object.

    • Override equals() method to compare Employee objects based on their attributes.

    • Ensure that the attributes used in hashCode() and equals() methods are immutable.

    • Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on thes...

  • Answered by AI
  • Q4. What is the implementation of the singleton design pattern?
  • Ans. 

    Singleton design pattern ensures a class has only one instance and provides a global point of access to it.

    • Create a private static instance of the class within the class itself.

    • Provide a public static method to access the instance, creating it if necessary.

    • Ensure the constructor of the class is private to prevent instantiation from outside the class.

    • Use lazy initialization to create the instance only when needed.

    • Thread...

  • Answered by AI
  • Q5. Different ways to create a thread
  • Q6. What are the SOLID principles in software design, and can you provide examples for each?
  • Ans. 

    SOLID principles are a set of five design principles in object-oriented programming to make software more maintainable, flexible, and scalable.

    • Single Responsibility Principle (SRP) - A class should have only one reason to change. Example: A class that handles user authentication should not also handle database operations.

    • Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modific...

  • Answered by AI
Round 2 - Technical 

(5 Questions)

  • Q1. What is the concept of Object-Oriented Programming (OOP) and can you provide an example?
  • Ans. 

    OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

    • OOP focuses on creating objects that interact with each other to solve a problem.

    • Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.

    • Inheritance allows objects to inherit attributes and methods from parent classes.

    • Po...

  • Answered by AI
  • Q2. How do threads communicate with each other in Java?
  • Ans. 

    Threads communicate in Java through shared memory or message passing.

    • Threads can communicate through shared variables in memory.

    • Threads can communicate through synchronized methods or blocks.

    • Threads can communicate through wait(), notify(), and notifyAll() methods.

    • Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.

  • Answered by AI
  • Q3. Write a program to reverse a linked list.
  • Ans. 

    Program to reverse a linked list

    • Create a new linked list to store the reversed elements

    • Traverse the original linked list and insert each node at the beginning of the new list

    • Update the head of the new list as the last node of the original list

  • Answered by AI
  • Q4. What is the difference between string literals and the string pool?
  • Ans. 

    String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.

    • String literals are created using double quotes, while string pool objects are created using the 'new' keyword.

    • String literals are stored in the string pool to conserve memory and improve performance.

    • String literals are automatically interned by the JVM, while string pool objects need to b...

  • Answered by AI
  • Q5. What is the program to print the 90-degree rotated view of a 2D array?
  • Ans. 

    Program to print the 90-degree rotated view of a 2D array.

    • Iterate through each column in reverse order and print the corresponding row elements.

    • Repeat this process for all columns to get the rotated view of the 2D array.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Concentrate on the fundamental aspects of Java and Spring Boot.

Java Developer Interview Questions & Answers

user image AKSHAY SANJAY ZOTING

posted on 17 Jan 2025

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Coding Test 

The assessment consists of basic coding and SQL-related questions, including two challenge questions. The total test duration is 1 hour and 30 minutes, featuring a total of 7 questions, with a passing score of 50% out of 120 points.

Round 2 - Technical 

(4 Questions)

  • Q1. Can you provide an introduction about yourself, including your current place of residence?
  • Ans. 

    I am a Java Developer currently residing in New York City.

    • Experienced Java Developer

    • Residing in New York City

    • Strong knowledge of Java programming language

  • Answered by AI
  • Q2. What is a HashMap in Java, and how does it function internally?
  • Ans. 

    HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

    • HashMap is part of the Java Collections framework.

    • It allows null keys and values.

    • Internally, it uses an array of linked lists to handle collisions.

    • The key's hash code is used to determine the index in the array where the key-value pair is stored.

    • Example: HashMap<String, Integer> map = new HashMap<>...

  • Answered by AI
  • Q3. I was asked to solve a question related to a 2D array that involved iterating through the array and storing the elements in a new array.
  • Q4. Find second highest salary from employee table?

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice coding questions and interview questions from Ambition before attending your technical interview.

Java Developer Interview Questions & Answers

user image Bharat Burle

posted on 27 Dec 2024

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Coding Test 

There were 3 to 4 questions related to the camera that needed to be solved within the given time.

Round 2 - One-on-one 

(4 Questions)

  • Q1. Postmortem of Hashmap
  • Q2. Locking mechanism in multithreading
  • Ans. 

    Locking mechanism in multithreading is used to control access to shared resources by multiple threads.

    • Locks are used to prevent multiple threads from accessing shared resources simultaneously

    • Types of locks include synchronized blocks, ReentrantLock, and ReadWriteLock

    • Locks help prevent race conditions and ensure data consistency in multithreaded applications

  • Answered by AI
  • Q3. Find highest salaried emp from each dept
  • Ans. 

    Use SQL query to group by department and find employee with highest salary in each department

    • Write a SQL query to group by department and select max salary for each department

    • Join the result with employee table to get employee details

    • Example: SELECT dept, emp_name, MAX(salary) FROM employees GROUP BY dept

  • Answered by AI
  • Q4. Sorting algorithms

Interview Preparation Tips

Topics to prepare for Wissen Technology Java Developer interview:
  • Java fundamentals
  • DS
  • Multithreading
  • SQL
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Jun 2025, where I was asked the following questions.

  • Q1. Given a 2D matrix, how can you perform a spiral traversal to obtain a 1D array?
  • Ans. 

    Spiral traversal of a 2D matrix involves visiting elements in a spiral order to create a 1D array.

    • Start from the top-left corner of the matrix.

    • Traverse right until the end of the row, then move down the last column.

    • Traverse left across the bottom row, then move up the first column.

    • Repeat the process for the inner submatrix until all elements are visited.

    • Example: For matrix [[1,2,3],[4,5,6],[7,8,9]], the result is [1,2,...

  • Answered by AI
  • Q2. What are the features introduced in Java 8?
  • Ans. 

    Java 8 introduced significant features like lambdas, streams, and the new Date-Time API, enhancing productivity and code readability.

    • Lambda Expressions: Enable functional programming by allowing you to write concise code. Example: (a, b) -> a + b.

    • Streams API: Facilitates processing sequences of elements, enabling operations like filter, map, and reduce. Example: list.stream().filter(x -> x > 10).collect(Collec...

  • Answered by AI
  • Q3. What is a functional interface?
  • Ans. 

    A functional interface is an interface with a single abstract method, enabling lambda expressions in Java.

    • Functional interfaces are used primarily in Java's functional programming features.

    • They can have multiple default or static methods but only one abstract method.

    • Common examples include Runnable, Callable, and Comparator.

    • You can create your own functional interfaces using the @FunctionalInterface annotation.

  • Answered by AI
  • Q4. What is the purpose of introducing static and default methods in functional interfaces?
  • Ans. 

    Static and default methods enhance functional interfaces by providing utility methods and default behavior without breaking existing implementations.

    • Static methods allow utility functions related to the interface, e.g., 'static int compare(T a, T b)'.

    • Default methods enable adding new functionality to interfaces without affecting existing implementations, e.g., 'default void log() { System.out.println(this); }'.

    • They hel...

  • Answered by AI
Interview experience
1
Bad
Difficulty level
Hard
Process Duration
4-6 weeks
Result
No response

I applied via Referral and was interviewed in Jul 2024. There were 5 interview rounds.

Round 1 - Coding Test 

Five MCQs, 2 moderate-level+1 hard level coding,2 SQL queries.

Round 2 - Assignment 

Hard-level 6 Data structure based questions to write the code.

Round 3 - Technical 

(2 Questions)

  • Q1. Flattenedarray code
  • Ans. 

    Flattening an array involves converting a multi-dimensional array into a single-dimensional array.

    • Use recursion to handle nested arrays. Example: flatten([1, [2, [3, 4]], 5]) results in [1, 2, 3, 4, 5].

    • Utilize Java Streams for a more functional approach. Example: Arrays.stream(array).flatMap(Arrays::stream).toArray() for 2D arrays.

    • Consider edge cases like empty arrays or arrays with null values. Example: flatten([], [n...

  • Answered by AI
  • Q2. Nested array objects to single array.
Round 4 - One-on-one 

(2 Questions)

  • Q1. Reverse the list node with head node having multiple values.
  • Q2. Hard-level string question to write the code.
Round 5 - Technical 

(2 Questions)

  • Q1. Advanced Java and database
  • Q2. Advanced Data structures

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Remove duplicates from an array
  • Ans. 

    Use a Set to remove duplicates from an array of strings.

    • Create a Set to store unique elements.

    • Iterate through the array and add each element to the Set.

    • Convert the Set back to an array to remove duplicates.

  • Answered by AI

Java Developer Interview Questions & Answers

user image Gowthami Vs

posted on 18 Jun 2025

Interview experience
1
Bad
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected
  • Q1. Multhteading program asking in output
  • Q2. Write the sql query second highest salary
  • Ans. 

    To find the second highest salary, we can use SQL queries with subqueries or the DISTINCT keyword.

    • Use a subquery to select the maximum salary that is less than the highest salary.

    • Example: SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);

    • Alternatively, use the DISTINCT keyword to filter unique salaries.

    • Example: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFS...

  • Answered by AI
  • Q3. What is the deadlock
  • Ans. 

    Deadlock is a situation in concurrent programming where two or more threads are blocked forever, waiting for each other to release resources.

    • Occurs when two or more threads hold resources and wait for each other to release them.

    • Example: Thread A holds Resource 1 and waits for Resource 2, while Thread B holds Resource 2 and waits for Resource 1.

    • Deadlocks can lead to system unresponsiveness and require careful design to ...

  • Answered by AI

Java Developer Interview Questions & Answers

user image Satya Nikhil Matlakunta

posted on 17 Dec 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Coding test time limit is 60 minutes it is moderate

Round 2 - One-on-one 

(1 Question)

  • Q1. Find the missing number in an given array
  • Ans. 

    Identify the missing number in a sequence using mathematical formulas or iterative methods.

    • Use the formula for the sum of the first n natural numbers: n(n + 1)/2.

    • Calculate the expected sum and subtract the actual sum of the array.

    • Example: For array [1, 2, 4], expected sum for n=4 is 10, actual sum is 7, missing number is 10-7=3.

    • Alternatively, use a boolean array to track presence of numbers.

  • Answered by AI
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I appeared for an interview in May 2025, where I was asked the following questions.

  • Q1. Check if given String can form pallindrome? How to make a class immutable?
  • Ans. 

    Check if a string can form a palindrome and understand how to create an immutable class in Java.

    • A string can form a palindrome if at most one character has an odd count.

    • Example: 'racecar' can form a palindrome; 'abc' cannot.

    • To check, count character frequencies using a HashMap or array.

    • An immutable class in Java is created by declaring the class as final.

    • Example: Use private final fields and provide no setters.

    • Construc...

  • Answered by AI
  • Q2. Comparator vs Comparable
  • Ans. 

    Comparator and Comparable are interfaces in Java for sorting objects, with different use cases and implementations.

    • Comparable is used to define a natural ordering of objects. Example: String implements Comparable.

    • Comparator is used to define an external ordering. Example: Custom sorting of objects using a separate class.

    • Comparable requires modifying the class to implement the interface, while Comparator can be used wit...

  • Answered by AI
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - One-on-one 

(1 Question)

  • Q1. Median of two sorted arrays - Interviewer expects you to write internet solution not the optimal one 🤦‍♂️

Interview Preparation Tips

Interview preparation tips for other job seekers - Salary package might be overwhelming, but i suggest you not to apply for the company. I personally have given 2 rounds excellently but still got rejected as they've got their candidates by then. If you've limited positions why to invite 100s of folks for F2F(hyderabad) ?

No employee perks, bad company culture & no work life balance.

I asked interviewer to tell about company's culture & work life balance. Even interviewer has nothing to mention some good.

Pathetic thing is that interviewer didn't introduced themselves & asked randomly searched internet questions without proper knowledge.

If there is 0 star rating I would've given that.

Again I'm telling you don't even apply for the company, they lure you by saying you'll be working for morgan stanley or goldman sachs. Don't fall into that pit.

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Wissen Technology?
Ask anonymously on communities.

Wissen Technology Interview FAQs

How many rounds are there in Wissen Technology Java Developer interview?
Wissen Technology interview process usually has 2-3 rounds. The most common rounds in the Wissen Technology interview process are Technical, One-on-one Round and Coding Test.
How to prepare for Wissen Technology Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Wissen Technology. The most common topics and skills that interviewers at Wissen Technology expect are Java, Multithreading, RDBMS, Data Structures and Algorithms.
What are the top questions asked in Wissen Technology Java Developer interview?

Some of the top questions asked at the Wissen Technology Java Developer interview -

  1. Parent class has run() and walk() . Parent run() - calls walk() Child Class ov...read more
  2. How to sort a list of students on the basis of their First na...read more
  3. 2. What will happen if hashcode only returns a constant? How will it affect the...read more
How long is the Wissen Technology Java Developer interview process?

The duration of Wissen Technology Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

3.3/5

based on 26 interview experiences

Difficulty level

Easy 9%
Moderate 73%
Hard 18%

Duration

Less than 2 weeks 78%
2-4 weeks 17%
4-6 weeks 6%
View more
Wissen Technology Java Developer Salary
based on 46 salaries
₹3.2 L/yr - ₹7.7 L/yr
17% less than the average Java Developer Salary in India
View more details

Wissen Technology Java Developer Reviews and Ratings

based on 5 reviews

4.8/5

Rating in categories

4.8

Skill development

4.7

Work-life balance

4.7

Salary

4.8

Job security

4.8

Company culture

4.7

Promotions

4.8

Work satisfaction

Explore 5 Reviews and Ratings
Java Developer

Bangalore / Bengaluru

3-5 Yrs

Not Disclosed

Java Developer - Kafka

Pune

4-10 Yrs

Not Disclosed

Explore more jobs
Software Engineer
842 salaries
unlock blur

₹11.5 L/yr - ₹20 L/yr

Senior Software Engineer
737 salaries
unlock blur

₹16.2 L/yr - ₹31 L/yr

Principal Engineer
350 salaries
unlock blur

₹25 L/yr - ₹42 L/yr

Software Developer
167 salaries
unlock blur

₹11.9 L/yr - ₹21 L/yr

Associate Software Engineer
155 salaries
unlock blur

₹9 L/yr - ₹15 L/yr

Explore more salaries
Compare Wissen Technology with

Wissen Infotech

3.7
Compare

ITC Infotech

3.7
Compare

CMS IT Services

3.1
Compare

KocharTech

3.9
Compare
write
Share an Interview