Upload Button Icon Add office photos

ITCS

Compare button icon Compare button icon Compare

Filter interviews by

ITCS Java Developer Interview Questions and Answers

Updated 19 Jan 2021

9 Interview questions

A Java Developer was asked
Q. What is a static block?
Ans. 

Static block is a block of code that is executed when a class is loaded into memory.

  • Static block is declared using the 'static' keyword.

  • It is executed only once when the class is loaded.

  • It is used to initialize static variables or perform any other static initialization.

  • It can throw exceptions which need to be handled.

  • Multiple static blocks can be defined in a class and they are executed in the order they are defi...

A Java Developer was asked
Q. Write an SQL update query.
Ans. 

An SQL UPDATE query modifies existing records in a database table based on specified conditions.

  • Syntax: UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;

  • Example: UPDATE employees SET salary = 50000 WHERE id = 1;

  • Use WHERE clause to specify which records to update; otherwise, all records will be updated.

  • You can update multiple columns in a single query.

  • Example: UPDATE products SET price = 20,...

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. Can we add a null value in a HashMap?
Ans. 

Yes, null value can be added in HashMap.

  • HashMap allows null as key and value.

  • If a null key is added, it will replace the existing null key.

  • If a null value is added, it will be stored as a value with a null key.

A Java Developer was asked
Q. What are the implicit objects in JSP?
Ans. 

JSP does not have any implicit methods, but it has implicit objects.

  • JSP has implicit objects like request, response, session, application, pageContext, out, config, and exception.

  • These objects are automatically available in JSP pages without any declaration or initialization.

  • They can be used to perform various operations like accessing request parameters, setting session attributes, etc.

A Java Developer was asked
Q. What is the difference between Oracle DB and SQL DB?
Ans. 

Oracle DB is a proprietary RDBMS while SQL DB is a generic term for any RDBMS that uses SQL as its language.

  • Oracle DB is developed and marketed by Oracle Corporation while SQL DB is a generic term for any RDBMS that uses SQL as its language.

  • Oracle DB is a proprietary RDBMS while SQL DB is a generic term for any RDBMS that uses SQL as its language.

  • Oracle DB has its own PL/SQL language while SQL DB uses SQL as its l...

A Java Developer was asked
Q. Is Servlet an interface or a class?
Ans. 

Servlet is an interface in Java EE used to handle HTTP requests and responses.

  • Servlet interface is implemented by classes like HttpServlet

  • It has methods like init(), service(), and destroy()

  • Servlets are used to create dynamic web pages and web applications

A Java Developer was asked
Q. What is the difference between an abstract class and an interface?
Ans. 

Abstract class can have implementation while interface only has method signatures.

  • Abstract class can have constructors while interface cannot.

  • A class can implement multiple interfaces but can only extend one abstract class.

  • Abstract class can have non-abstract methods while interface only has abstract methods.

  • Abstract class is used for code reusability while interface is used for polymorphism.

  • Example of abstract cl...

Are these interview questions helpful?
A Java Developer was asked
Q. What is an abstract class?
Ans. 

Abstract is a keyword in Java used to create abstract classes and methods.

  • Abstract classes cannot be instantiated

  • Abstract methods do not have a body and must be implemented by the subclass

  • Abstract classes can have both abstract and non-abstract methods

  • Abstract classes are used to provide a common interface for its subclasses

  • Example: abstract class Animal { abstract void makeSound(); }

A Java Developer was asked
Q. What are the framwork do you know ?
Ans. 

I know several frameworks including Spring, Hibernate, and Struts.

  • Spring: widely used for building enterprise-level applications

  • Hibernate: object-relational mapping framework for database access

  • Struts: MVC framework for building web applications

ITCS Java Developer Interview Experiences

1 interview found

I applied via Naukri.com

Interview Questionnaire 

12 Questions

  • Q1. What static block
  • Q2. What difference between methid overloading and method overriding
  • Q3. Can we add null value in hashmap ?
  • Q4. Sql update query
  • Ans. 

    An SQL UPDATE query modifies existing records in a database table based on specified conditions.

    • Syntax: UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;

    • Example: UPDATE employees SET salary = 50000 WHERE id = 1;

    • Use WHERE clause to specify which records to update; otherwise, all records will be updated.

    • You can update multiple columns in a single query.

    • Example: UPDATE products SET price = 20, stoc...

  • Answered by AI
  • Q5. What is testing
  • Q6. Difference berween abstract class and interface
  • Q7. Difference between oracle db and sql db
  • Q8. Fetures of opps
  • Q9. What is abstract
  • Q10. What are implicite method of jsp ?
  • Q11. Servlet is interface or class ?
  • Q12. What are the framwork do you know ?
  • Ans. 

    I know several frameworks including Spring, Hibernate, and Struts.

    • Spring: widely used for building enterprise-level applications

    • Hibernate: object-relational mapping framework for database access

    • Struts: MVC framework for building web applications

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - just honest with your answer and prepare basics concepts , all the best, your success will come soon,

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w (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 ITCS?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Jun 2021.

Round 1 - Coding Test 

Had DSA and aptitude questions

Round 2 - Technical 

(1 Question)

  • Q1. DSA a questions, Database Questions
Round 3 - HR 

(1 Question)

  • Q1. 5 min question and answers about company

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA and database management

Interview Questionnaire 

4 Questions

  • Q1. All questions about java only. 1. Different between interface and abstract class . 2.questions on rest Threads 3.java object on hashcode 4. Previous company projects
  • Q2. All about java 1. Explain collection hierarchy 2.Explain exception hierarchy 3.how many of classes in java 4.what are problem u faced while deploying the project and etc on deployment
  • Ans. 

    Collection hierarchy in Java includes interfaces like Collection, List, Set, Queue, and Map with their respective implementations.

    • Collection interface is the root interface in the collection hierarchy

    • List interface extends Collection and allows duplicate elements, with implementations like ArrayList and LinkedList

    • Set interface extends Collection and does not allow duplicate elements, with implementations like HashSet a...

  • Answered by AI
  • Q3. What will be work if hire . And
  • Q4. All about package and joining date

I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. IQ Test
  • Q2. Machine Test
  • Q3. Face To Face

Interview Preparation Tips

Interview preparation tips for other job seekers - basically there are 3 rounds:-
1. IQ Test
2. Machine Test
3. Face to Face

IQ Test is not so tough but prepare well Machine Test
Machine Test Question are like :-
Q.1 - We declare a variable in C++ like "is_this_a_variable" and in Java like "IsThisAVariable". There is underscore in between every word and first alphabet of every word is in lowercase in C++ and in Java first alphabet is in capital without underscore. Create a program in which if user input a string in a C++ variable format it will convert the input in java variable format.

Q2. Count the frequency of a string.
user input string - pqhphi
output-
p - 2
q - 1
h - 2
i - 1

Be strong in algorithms and data structure.

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Easy

It happens in very friendly manner.

  • Q1. 

    Paths in a Matrix Problem Statement

    Given an 'M x N' matrix, print all the possible paths from the top-left corner to the bottom-right corner. You can only move either right (from (i,j) to (i,j+1)) or dow...

  • Ans. 

    Print all possible paths from top-left to bottom-right in a matrix by moving only right or down.

    • Use backtracking to explore all possible paths from top-left to bottom-right in the matrix.

    • At each cell, recursively explore moving right and down until reaching the bottom-right corner.

    • Keep track of the current path and add it to the result when reaching the destination.

  • Answered by AI
  • Q2. Can you create 2 tables in SQL and perform different operations on them?
  • Ans. 

    Yes, I can create 2 tables in SQL and perform operations like INSERT, SELECT, UPDATE, and DELETE.

    • Create Table 1: CREATE TABLE employees (id INT, name VARCHAR(50), salary DECIMAL(10,2));

    • Create Table 2: CREATE TABLE departments (dept_id INT, dept_name VARCHAR(50));

    • Insert Data: INSERT INTO employees VALUES (1, 'John Doe', 50000);

    • Select Data: SELECT * FROM employees WHERE salary > 40000;

    • Update Data: UPDATE employees SET...

  • Answered by AI
Round 2 - Face to Face 

Round duration - 90 minutes
Round difficulty - Medium

No problem occur very friendly environment.

Round 3 - Face to Face 

(1 Question)

Round duration - 90 minutes
Round difficulty - Hard

  • Q1. 

    Rat in a Maze Problem Statement

    You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteriaAbove 7 CGPAVirtusa interview preparation:Topics to prepare for the interview - Linked List, Binary Search Tree ,Queue, Array ,DP ,Graph ,RecursionTime required to prepare for the interview - 3 MonthsInterview preparation tips for other job seekers

Tip 1 : Competitive programming plays a major role when you are appearing for coding rounds as a fresher. In the coding rounds, you won't get direct problems copied from Geeksforgeeks or Leetcode. You would be required to use your logical thinking to go ahead in the process. This is where competitive programming helps.

Tip 2 : Coding rounds are all about Coding + Timing. Most people fail to excel due to the pressure of a timer ticking on your head. So, instead of just solving problems, try to participate in timed contests. This will help you be used to the pressure of the timer.

Tip 3 : Many big companies like Microsoft, Amazon, and even Google expect you to be good at standard problems. So, once you are done with coding round by your logical skills and competitive programming, you must be well versed with some standard problems in order to excel.

Application resume tips for other job seekers

Tip 1 : Make it short, crisp, and simple. It is always good to have a 1 pager resume. 
Tip 2 : Resume must comprise of the following: Educational Qualifications, Technical skills, Projects, Work experience (if any), Achievements. Other than this, you may include some extra co-curricular achievements.

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Naukri.com and was interviewed before Apr 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Technical questions

Interview Preparation Tips

Interview preparation tips for other job seekers - I have visited interview location on morning 7am DLF block Hyderabad. Buy my interview was taken in evening 6:45pm. That was not an interview test it was a patience test.

I applied via Naukri.com and was interviewed before Nov 2018. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Mainly fully technical skills -2technical +1 HR round

Interview Preparation Tips

Interview preparation tips for other job seekers - Please be prepared completely as they will completely focus on what is written on your resume. Please do not write fake experience on any skills . You will be caught. HR compensations provided are really pretty good if your technical round goes really outstanding.

Interview Preparation Tips

Round: Test
Experience: Quite easy..It contains mcq and one programming question. MCQ covers databases,sql,software testing,c++
Tips: You can easily pass the test,no need to worry

Round: Interview
Experience: Questions are among databases and java,they will ask u fav subj and asks questions in that
Tips: Through with ur fav subject..be confident, simple anad basic questions,try to solve secreening test question using java language

Round: Interview
Experience: Its better to say technical only,the hr also asks about test pattren.programming question.then normal HR questions
Tips: It better to do some research about the company,overall it's easy and cake walk for those who are strong in java and databases

General Tips: CSE guys can easily clear that test and interview..without any hesitattion
Skills: Java,databases, SQL, C, General Aptitude
College Name: NIT Warangal
Motivation: Virtusa is emerging company
Funny Moments: In interview they asked about my girl friend,her name andwhen ur are going to marry. answer them in a funny way with smile in your face

Interview Preparation Tips

Round: Test
Experience: In the first round there was an online test. Questions were from aptitude, general English and a simple code( very simple if you have programming skills).
Tips: It was purely a knowledge based round so everything depends on your preparation level and a bit confidence.

Round: Technical Interview
Experience: In technical round interview the process was like this...
I entered in room and greeted interviewer and he asked me to sit down. I handed over my resume to him. His first question was tell me about yourself. Then my projects. After that he came on programming, He asked me very basic concept about C++. Questions were like what is polymorphism, What is encapsulation. He also asked program of fibonacci series. After all these question he again looked at my resume and asked me 'why your CGPA is low?' I said that when i was in my first year i had interest in electronics but later when i encountered with programming i decided to have my career in this field so i could not concentrate on my core subjects.
Tips: C++ is '''''must''''' for Virtusa if you are from electronics . I didn't know data structure but c++ was on my fingers. Answer question with confidence.

Round: HR Interview
Experience: HR interview was really cool. Interview asked me about myself, my family, real life applications of my project. After that he came on real stuff. He asked question like why do you want to join virtusa? I said virtusa is this .. virtusa is this.....and many more..and in last i said this is i want to join virtusa. Next question was ' what do think about dowry?'. At first i was surprised to hear this question but i realized that interview only want to check my ability to speak on random topic. I answered the question by criticizing dowry and he was pleased to hear my answer. After one or two general HR question like location preference , he told me that your interview is over please wait outside for result. It was really nice to meet you . Thank you.
Tips: Never stop speaking in HR interview. They only check your ability to speak on random topics and their general HR question. I was continuously speaking ...please do not bother about grammar while speaking ...just speak with confidence(relevant).

General Tips: prepare c , c++ and ability to speak in front of interviewer.
Skills: Basic Coding, Aptitude, 1)communication
College Name: NIT Jalandhar

Interview Questionnaire 

13 Questions

  • Q1. Indroduce yourself ?
  • Ans. 

    I am a software developer with experience in various programming languages and frameworks.

    • Proficient in Java, C++, and Python

    • Familiar with web development using HTML, CSS, and JavaScript

    • Experience with database management systems such as MySQL and MongoDB

    • Strong problem-solving and analytical skills

    • Worked on projects involving machine learning and artificial intelligence

  • Answered by AI
  • Q2. Difference between method overloading and methode overriding ?
  • Ans. 

    Method overloading is having multiple methods with the same name but different parameters. Method overriding is having a subclass method with the same name and parameters as a superclass method.

    • Method overloading is used to provide different ways of calling the same method with different parameters.

    • Method overriding is used to provide a specific implementation of a method in a subclass that is already defined in the su...

  • Answered by AI
  • Q3. Difference between switch case and if else statement?
  • Ans. 

    Switch case is used for multiple conditions while if else is used for binary conditions.

    • Switch case is faster than if else for multiple conditions.

    • If else can handle complex conditions while switch case cannot.

    • Switch case can only compare values of the same data type.

    • If else can handle null values while switch case cannot.

    • Example: switch (day) { case 1: console.log('Monday'); break; case 2: console.log('Tuesday'); brea...

  • Answered by AI
  • Q4. What is interface and abstract class?
  • Q5. Whats is polymorphisom?
  • Q6. What is inherritance ?
  • Q7. Default case in switch case
  • Ans. 

    Default case in switch case statement

    • Default case is executed when no other case matches the switch expression

    • It is optional and can be placed anywhere in the switch statement

    • It is often used to handle unexpected input or errors

    • It should always be the last case in the switch statement

  • Answered by AI
  • Q8. Introduce yourself apart from resume?
  • Q9. What is your weaknesses ?
  • Q10. Do you have any offer from any other company ?
  • Ans. 

    Yes, I have received offers from two other companies.

    • Received offers from Company A and Company B

    • Currently evaluating all offers to make an informed decision

    • Considering factors like company culture, growth opportunities, and compensation

  • Answered by AI
  • Q11. Which company would you like to join apart from sapient ?
  • Ans. 

    I would like to join Google because of their innovative projects and work culture.

    • Google is known for its cutting-edge technology and innovative projects.

    • They have a strong focus on employee well-being and work-life balance.

    • Google offers opportunities for career growth and development.

    • The company has a diverse and inclusive work culture.

    • Google is a leader in the tech industry with a global presence.

  • Answered by AI
  • Q12. Have you ever worked in a team?
  • Q13. 8 metals bolls are similar ?
  • Ans. 

    Yes, they are similar.

    • All 8 metal balls are of the same material.

    • They have the same size and weight.

    • They have the same physical properties.

    • They are interchangeable in any given situation.

  • Answered by AI

Interview Preparation Tips

College Name: NIT Meghalaya

Skills evaluated in this interview

ITCS Interview FAQs

What are the top questions asked in ITCS Java Developer interview?

Some of the top questions asked at the ITCS Java Developer interview -

  1. what difference between methid overloading and method overrid...read more
  2. what are the framwork do you know...read more
  3. what are implicite method of jsp...read more

Tell us how to improve this page.

Compare ITCS with

Cognizant

3.7
Compare

EXL Service

3.7
Compare

Optum Global Solutions

4.0
Compare

Hexaware Technologies

3.5
Compare
write
Share an Interview