Upload Button Icon Add office photos

Filter interviews by

Wittybrains Software Technologies Java Developer Interview Questions and Answers

Updated 14 Jan 2021

6 Interview questions

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 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

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
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. 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. 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...

Wittybrains Software Technologies Java Developer Interview Experiences

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
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 Wittybrains Software Technologies?
Ask anonymously on communities.

Interview questions from similar companies

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

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

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

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

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

(1 Question)

  • Q1. 3 dsa problem asked
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

Are these interview questions helpful?

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.
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 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?
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?

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

  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.9
Compare

Reliance Money

3.5
Compare

Bss Microfinance

3.6
Compare

Sonata Finance

3.9
Compare
write
Share an Interview