Upload Button Icon Add office photos

Filter interviews by

Wittybrains Software Technologies Java Developer Interview Questions and Answers for Experienced

Updated 14 Jan 2021

7 Interview questions

A Java Developer was asked
Q. How do you create a thread in Java?
Ans. 

To create a thread in Java, you can extend the Thread class or implement the Runnable interface.

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

  • Implement the Runnable interface and pass an instance to the Thread constructor

  • Start the thread using the start() method

  • Example: Thread thread = new Thread(() -> System.out.println("Hello World")); thread.start();

A Java Developer was asked
Q. Write a program to calculate the power of a number using recursion. For example, if n=2 and power=3, the output should be 8.
Ans. 

A Java program to calculate the power of a number using recursion.

  • Create a recursive function that takes two parameters: the number and the power.

  • If the power is 0, return 1.

  • If the power is 1, return the number.

  • Otherwise, recursively call the function with the number multiplied by itself and the power decreased by 1.

  • Return the result.

Java Developer Interview Questions Asked at Other Companies for Experienced

asked in Cognizant
Q1. What array list and linkedlist difference,how hashmap internally ... read more
asked in TCS
Q2. what are the difference between abstract class and interface, and ... read more
asked in Infosys
Q3. Write code to filter out loans with an incomplete status using Ja ... read more
asked in Cognizant
Q4. write program fibonacci series, write program using boolean, writ ... read more
asked in Capgemini
Q5. Is Java platform-independent, and if so, why?
A Java Developer was asked
Q. Write a program to print prime numbers between 1 and 100 alternately.
Ans. 

Print prime numbers between 1-100 alternately using Java.

  • Create a function to check if a number is prime or not.

  • Use a loop to iterate through numbers 1-100.

  • Alternate between printing prime and non-prime numbers.

  • Use a boolean variable to keep track of whether the last printed number was prime or not.

A Java Developer was asked
Q. Write a program to print prime numbers between 1 and 100.
Ans. 

A program to print prime numbers between 1-100.

  • Iterate from 1 to 100

  • For each number, check if it is divisible by any number from 2 to itself-1

  • If not divisible by any number, it is a prime number

A Java Developer was asked
Q. Write a program to reverse your name without using a built-in function or loop, using recursion.
Ans. 

This Java program reverses a string using recursion without loops or built-in functions.

  • Define a recursive method that takes a string as input.

  • Base case: if the string is empty, return an empty string.

  • Recursive case: return the last character of the string plus the result of the method called on the substring excluding the last character.

  • Example: For input 'John', the method will return 'n' + reverse('Joh') = 'n' ...

A Java Developer was asked
Q. Methods in thread
Ans. 

Methods in thread are used to perform tasks concurrently.

  • Thread.start() method is used to start a new thread.

  • Thread.sleep() method is used to pause the execution of a thread.

  • Thread.join() method is used to wait for a thread to finish its execution.

  • Thread.yield() method is used to give a chance to other threads to execute.

A Java Developer was asked
Q. Overloading vs Overriding
Ans. 

Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in its superclass.

  • Overloading is compile-time polymorphism while overriding is runtime polymorphism

  • Overloading is used to provide different ways of calling a method with different parameters

  • Overriding is used to provide a specific implementati...

Are these interview questions helpful?

Wittybrains Software Technologies Java Developer Interview Experiences for Experienced

1 interview found

Interview Questionnaire 

7 Questions

  • Q1. Wap to print prime number between 1-100?
  • Q2. Wap to print prime number between 1-100 alternately?
  • Q3. Wap to reverse your name? without using builtin function or Loop. (using recursion)
  • Q4. Wap where n=2, power=3, output=8 using recursion
  • Q5. Overloading vs Overriding
  • Ans. 

    Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in its superclass.

    • Overloading is compile-time polymorphism while overriding is runtime polymorphism

    • Overloading is used to provide different ways of calling a method with different parameters

    • Overriding is used to provide a specific implementation of...

  • Answered by AI
  • Q6. Methods in thread
  • Ans. 

    Methods in thread are used to perform tasks concurrently.

    • Thread.start() method is used to start a new thread.

    • Thread.sleep() method is used to pause the execution of a thread.

    • Thread.join() method is used to wait for a thread to finish its execution.

    • Thread.yield() method is used to give a chance to other threads to execute.

  • Answered by AI
  • Q7. How to create thread

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
2w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Wittybrains Software Technologies?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed before Jun 2020. There were 5 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Php basic and array functions
  • Q2. Mysql basic,views,triggers

Interview Preparation Tips

Interview preparation tips for other job seekers - Average

Java Developer Interview Questions Asked at Other Companies for Experienced

asked in Cognizant
Q1. What array list and linkedlist difference,how hashmap internally ... read more
asked in TCS
Q2. what are the difference between abstract class and interface, and ... read more
asked in Infosys
Q3. Write code to filter out loans with an incomplete status using Ja ... read more
asked in Cognizant
Q4. write program fibonacci series, write program using boolean, writ ... read more
asked in Capgemini
Q5. Is Java platform-independent, and if so, why?

I applied via Indeed and was interviewed before Jun 2020. There were 5 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Basic php and array functions
  • Q2. Mysql basic, views, triggers

Interview Preparation Tips

Interview preparation tips for other job seekers - Array related question and basic php mysql
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. Asked about my experience as an integration developer

I applied via Referral and was interviewed in Sep 2021. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Tell me about recent Project Details and what is your Role in this Project.
  • Q2. Git and Azure DevOps related Questions
  • Ans. I Explained how we work on AzureDevOps. Explained workflow with Git Repos through DevOps Repositories. Explained Build and Release Pipelines also Explained NuGet Packages using Artifacts
  • Answered Anonymously
  • Q3. Explain Solid Principles and Where to use this with Example
  • Ans. 

    Solid Principles are a set of design principles for writing maintainable and scalable software.

    • Solid Principles consist of five principles: Single Responsibility Principle, Open/Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, and Dependency Inversion Principle.

    • Single Responsibility Principle states that a class should have only one reason to change.

    • Open/Closed Principle states that sof...

  • Answered by AI
  • Q4. Abstraction and Interface Differance
  • Ans. 

    Abstraction focuses on hiding implementation details, while interface defines a contract for classes to follow.

    • Abstraction allows us to focus on the essential features of an object, while hiding unnecessary details.

    • Interface defines a set of methods that a class must implement, providing a contract for how the class should behave.

    • Abstraction is achieved through abstract classes and interfaces in object-oriented program...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't feel uncomfortable if you don't know the exact answer. Whatever you know just explain in your statement. make an easy sentence to explain don't give an exact theoretic answer try to explain with one example.

I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. How meny days working, and working hours
  • Ans. 

    The number of working days and working hours for a Software Developer.

    • Software Developers typically work 5 days a week.

    • The standard working hours for Software Developers are 8 hours per day.

    • However, the actual number of working days and hours may vary depending on the company and project requirements.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - He was asking more then technical question, interviewer and hr are good person, it means helpfull.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Basic aptitude and coding problems were asked

Round 2 - Coding Test 

System design and advanced algorithms were asked

Are these interview questions helpful?
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Covers basics aps around 15 question

Round 2 - Coding Test 

DSA based questions from leetcode easy and medium

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

(1 Question)

  • Q1. 3 dsa problem asked

I applied via Campus Placement and was interviewed before Aug 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Regarding my previous experience.
  • Q2. Regarding my background

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and honest

Wittybrains Software Technologies Interview FAQs

How to prepare for Wittybrains Software Technologies Java Developer interview for experienced candidates?
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 Wittybrains Software Technologies. The most common topics and skills that interviewers at Wittybrains Software Technologies expect are Java, SAML and SSO.
What are the top questions asked in Wittybrains Software Technologies Java Developer interview for experienced candidates?

Some of the top questions asked at the Wittybrains Software Technologies Java Developer interview for experienced candidates -

  1. Wap to reverse your name? without using builtin function or Loop. (using recur...read more
  2. Wap where n=2, power=3, output=8 using recursi...read more
  3. Wap to print prime number between 1-100 alternate...read more

Tell us how to improve this page.

Software Engineer
53 salaries
unlock blur

₹2.2 L/yr - ₹10.9 L/yr

Softwaretest Engineer
32 salaries
unlock blur

₹2 L/yr - ₹7 L/yr

Software Developer
20 salaries
unlock blur

₹2.2 L/yr - ₹11.8 L/yr

Senior Software Test Engineer
18 salaries
unlock blur

₹7 L/yr - ₹13 L/yr

Senior Software Engineer
10 salaries
unlock blur

₹7.5 L/yr - ₹23 L/yr

Explore more salaries
Compare Wittybrains Software Technologies with

Karvy Financial Services

3.8
Compare

Reliance Money

3.5
Compare

Bss Microfinance

3.6
Compare

Sonata Finance

3.9
Compare
write
Share an Interview