i
TCS
Filter interviews by
Polymorphism allows methods to do different things based on the object that it is acting upon, enhancing flexibility in code.
Polymorphism is a core concept in Object-Oriented Programming (OOP).
It allows methods to be defined in multiple forms.
Example: A method 'draw()' can behave differently for 'Circle' and 'Square' classes.
There are two types: compile-time (method overloading) and runtime (method overriding).
Ove...
A classLoader in Java is a part of the Java Runtime Environment that loads classes into memory.
ClassLoaders are responsible for finding and loading class files into the Java Virtual Machine (JVM).
There are three main types of ClassLoaders: Bootstrap, Extension, and Application ClassLoader.
The Bootstrap ClassLoader loads core Java classes from the JDK's rt.jar file.
The Extension ClassLoader loads classes from the J...
Compile time polymorphism is achieved through method overloading, while runtime polymorphism is achieved through method overriding.
Compile time polymorphism is also known as static polymorphism.
It is achieved by having multiple methods in the same class with the same name but different parameters.
Example: method overloading in Java.
Runtime polymorphism is also known as dynamic polymorphism.
It is achieved by having...
Truncate is a SQL command used to delete all rows from a table without logging the individual row deletions.
Truncate is a DDL (Data Definition Language) command in SQL.
It is used to quickly delete all rows from a table, but it does not log individual row deletions.
Truncate is faster than using the DELETE command, as it does not generate individual row deletion logs.
Truncate also resets any auto-incrementing keys i...
What people are saying about TCS
Exceptions in Spring Boot can be handled using try-catch blocks, @ExceptionHandler annotation, and global exception handling.
Use try-catch blocks to handle exceptions within a specific method.
Use @ExceptionHandler annotation to handle exceptions at the controller level.
Implement a global exception handler using @ControllerAdvice and @ExceptionHandler annotations.
Customize error responses using ResponseEntityExcept...
Constructor is a special method that is used to initialize objects in Java.
Constructor has the same name as the class name
It does not have a return type
It can be overloaded
It is called automatically when an object is created
Example: public class Car { public Car() { // constructor code here } }
I appeared for an interview in Dec 2024.
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
I applied via LinkedIn and was interviewed in Jul 2024. There were 3 interview rounds.
APtitude test invole percent
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
I appeared for an interview before Aug 2024, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Oct 2023. There were 3 interview rounds.
I applied via Walk-in and was interviewed in Oct 2023. There were 4 interview rounds.
Logical reasoning to test my iq level
Test my code knowledge to your requirements
I appeared for an interview before Jun 2024, where I was asked the following questions.
The duration of TCS Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 15 interview experiences
Difficulty level
Duration
based on 659 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹3.9 L/yr - ₹8.3 L/yr |
IT Analyst
65.1k
salaries
| ₹8 L/yr - ₹14.6 L/yr |
AST Consultant
54.2k
salaries
| ₹12.4 L/yr - ₹23.2 L/yr |
Associate Consultant
33.7k
salaries
| ₹15.3 L/yr - ₹28.5 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.4 L/yr - ₹6.2 L/yr |
Amazon
Wipro
Infosys
Accenture