Add office photos
ITC Infotech  logo
Engaged Employer

ITC Infotech

Verified
3.6
based on 3.4k Reviews
Video summary
Filter interviews by
Java Developer
Fresher
Clear (1)

10+ ITC Infotech Java Developer Interview Questions and Answers

Updated 5 Feb 2024

Q1. How to change a div background colour?

Ans.

Use CSS to change the background color of a div element.

  • Use the 'background-color' property in CSS to specify the color.

  • You can use color names, hex codes, RGB values, or HSL values to set the background color.

  • Example: div { background-color: blue; }

View 2 more answers
right arrow

Q2. What is session in java?

Ans.

Session in Java is a way to store information about a user across multiple requests.

  • Session is used to maintain stateful information about a user.

  • It is created when a user first accesses a web application and remains active until the user logs out or the session times out.

  • Session data is stored on the server and can be accessed by multiple requests from the same user.

  • It is commonly used for user authentication, shopping carts, and personalization.

  • The HttpSession interface in ...read more

View 1 answer
right arrow
ITC Infotech Java Developer Interview Questions and Answers for Freshers
illustration image

Q3. Please tell me What is HTML?

Ans.

HTML stands for HyperText Markup Language, used for creating and structuring web pages.

  • HTML is a markup language used to create the structure of web pages.

  • It consists of elements enclosed in tags, such as <html>, <head>, <body>.

  • Attributes can be added to elements to provide additional information or functionality, like <img src='image.jpg'>.

  • HTML is the foundation of web development and is often used in conjunction with CSS and JavaScript.

View 1 answer
right arrow

Q4. What is Java Class Library?

Ans.

Java Class Library is a collection of pre-compiled classes and methods that provide ready-to-use functionality for Java developers.

  • Java Class Library contains classes for common tasks like input/output, networking, database access, etc.

  • Developers can use these classes to save time and effort by reusing existing code.

  • Examples include java.lang, java.util, java.io, java.net, etc.

View 1 answer
right arrow
Discover ITC Infotech interview dos and don'ts from real experiences

Q5. Types of datatypes in Java

Ans.

Java has several types of datatypes including primitive and reference types.

  • Primitive datatypes include int, double, boolean, char, etc.

  • Reference datatypes include classes, interfaces, arrays, etc.

  • Examples: int age = 25; String name = "John"; int[] numbers = {1, 2, 3};

  • Wrapper classes like Integer, Double, Boolean, etc. are used to wrap primitive types.

View 1 answer
right arrow

Q6. explain opps concept, what is spring boot

Ans.

OOPs concept is a programming paradigm based on the concept of objects, Spring Boot is a framework for building Java applications.

  • OOPs concept stands for Object-Oriented Programming, which focuses on creating objects that interact with each other to solve problems.

  • It involves concepts like inheritance, encapsulation, polymorphism, and abstraction.

  • Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.

  • It a...read more

Add your answer
right arrow

Q7. What is javascript What is jdk What is while loop

Ans.

Javascript is a scripting language used for web development. JDK is a Java Development Kit. While loop is a control flow statement.

  • Javascript is used for client-side scripting, creating interactive web pages, and adding functionality to web applications.

  • JDK is a software development kit used for developing Java applications.

  • While loop is a control flow statement used to execute a block of code repeatedly as long as a specified condition is true.

Add your answer
right arrow

Q8. what is controller and rest controller

Ans.

Controller is a class that handles user requests and returns appropriate response. Rest controller is a specialized controller for RESTful web services.

  • Controller is a class in MVC architecture that handles user requests and interacts with the model and view.

  • Rest controller is a specialized controller in Spring framework for building RESTful web services.

  • Rest controller uses annotations like @RestController and @RequestMapping to define REST endpoints.

  • Example: @Controller in ...read more

Add your answer
right arrow

Q9. What is java What is object

Ans.

Java is a high-level programming language used for developing applications. An object is an instance of a class.

  • Java is platform-independent and can run on any device with a JVM.

  • Java is an object-oriented language that supports encapsulation, inheritance, and polymorphism.

  • Objects are created from classes and have properties and methods.

  • Example: A car class can have objects like BMW, Audi, etc. with properties like color, model, and methods like start, stop, etc.

Add your answer
right arrow

Q10. internal working of hashmap

Ans.

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 null keys and values, but only one null key.

  • Example: HashMap map = new HashMap<>(); map.put("key1"...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at ITC Infotech Java Developer

based on 7 interviews
1 Interview rounds
Resume Shortlist Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Java Developer Interview Questions from Similar Companies

Cognizant Logo
3.7
 • 21 Interview Questions
FRSPL Logo
4.5
 • 11 Interview Questions
View all
Recently Viewed
INTERVIEWS
HCLTech
No Interviews
REVIEWS
Tata Motors
No Reviews
INTERVIEWS
Cognizant
20 top interview questions
INTERVIEWS
ClickSoftware
10 top interview questions
INTERVIEWS
Acma Computers
No Interviews
INTERVIEWS
DXC Technology
No Interviews
INTERVIEWS
LTIMindtree
10 top interview questions
INTERVIEWS
Digital Hikes
No Interviews
CAMPUS PLACEMENT
Sastra University
INTERVIEWS
Tech Mahindra
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter