i
TCS
Filter interviews by
I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract classes are used to provide a common base for subclasses, while interfaces are used to define a contract for classes to im...
Arrays store elements in contiguous memory locations, while linked lists store elements in nodes with pointers to the next node.
Arrays have fixed size, while linked lists can dynamically grow or shrink.
Accessing elements in arrays is faster (O(1)), while accessing elements in linked lists is slower (O(n)).
Inserting or deleting elements in arrays can be inefficient as it may require shifting elements, while in linked li
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
I was interviewed in Mar 2024.
What people are saying about TCS
Tcs Conducts NQT for Apptitude test.
Prepare topics like OOPS, Collection.
TCS interview questions for designations
equals() is a method used to compare the content of two objects, while == is used to compare the memory address of two objects.
equals() is a method of the Object class in Java, used to compare the content of two objects.
== is an operator used to compare the memory address of two objects.
equals() can be overridden in classes to provide custom comparison logic.
Example: String str1 = new String("hello"); String str2 = new...
Python stack developer
About knowledge based
Approximately 20 questions covering quantitative reasoning and English were provided to solve within one hour.
Questions were asked about Java OOP principles, the collection framework, and features introduced in Java 8.
OOPs concepts are fundamental principles of object-oriented programming such as inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implemen...
I applied via LinkedIn and was interviewed in Jan 2024. There was 1 interview round.
Exception handling in Spring Boot involves using try-catch blocks, global exception handlers, and custom exception classes.
Use try-catch blocks to handle exceptions within specific methods.
Implement global exception handlers to handle exceptions across the entire application.
Create custom exception classes to handle specific types of exceptions.
Use the @ExceptionHandler annotation to define methods that handle specific...
JPA entity graphs define the relationships between entities and specify which attributes to fetch.
JPA entity graphs are used to optimize database queries by specifying the relationships between entities.
They allow developers to define which attributes of an entity should be fetched from the database.
Entity graphs can be defined using annotations or programmatically using the JPA API.
By using entity graphs, developers c...
JVM memory model defines how Java programs allocate and manage memory.
JVM memory model is divided into several areas like heap, stack, method area, etc.
Heap is used for dynamic memory allocation, while stack is used for method calls and local variables.
Method area stores class-level data like bytecode, constant pool, etc.
JVM memory model ensures memory safety through garbage collection.
Examples of JVM memory management...
1 Interview rounds
based on 13 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.4k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
29k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture