i
TCS
Filter interviews by
I applied via Job Portal and was interviewed in Mar 2024. There was 1 interview round.
Interfaces vs abstract classes, solid principles, program for factorial using recursive approach, multithreading
I applied via Company Website and was interviewed in Dec 2022. There were 4 interview rounds.
Basic aptitude based on class 10.
Learn one language properly, be it C or Java or Python.
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
Prepared statements are precompiled SQL statements that can improve performance and security. Microservices offer scalability and flexibility over monolithic architecture. REST API works by using HTTP methods to interact with resources.
Prepared statements are precompiled SQL statements that can be reused multiple times, improving performance by reducing database load and preventing SQL injection attacks.
Microservices a...
Overloading is when multiple methods have the same name but different parameters. Overriding is when a subclass provides a different implementation of a method from its superclass. Constructors are special methods used to initialize objects.
Overloading allows us to have multiple methods with the same name but different parameters, providing flexibility and code reusability.
Overriding allows a subclass to provide its ow...
Yes, we can overload the main method and constructor in Java.
Overloading means having multiple methods or constructors with the same name but different parameters.
In the case of the main method, we can have multiple main methods with different parameter lists.
For example, we can have a main method with the signature 'public static void main(String[] args)' and another with 'public static void main(String arg)'
Similarly...
No, we cannot override static methods.
Static methods belong to the class and not to the instance of the class.
Overriding is a concept of polymorphism which is not applicable to static methods.
However, we can have a static method with the same name in the subclass which is called method hiding.
I was interviewed in Jan 2025.
A sequence was provided: 4181, 2684, 1597, 987, 610.
first 2 are given and write code for other value calculation using java 8
The second question required writing a reverse of a palindrome using both Java 8 streams. I was able to successfully write both and clear the first round.
Java 17 introduces sealed classes to restrict inheritance and improve code maintainability.
Sealed classes are declared using the 'sealed' keyword followed by the permitted subclasses.
Subclasses of a sealed class must be either final or sealed themselves.
Errors may occur when trying to extend a sealed class with a non-permitted subclass.
Implementation of 'notify me if item is back in stock' feature in an ecommerce application
Create a database table to store user notifications for out-of-stock items
Implement a service to check item availability and send notifications to subscribed users
Provide a user interface for users to subscribe to notifications for specific items
I was interviewed in Jan 2025.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Use Streams to remove duplicates and retain only even numbers from an array.
Convert the array to a stream using Arrays.stream()
Use distinct() to remove duplicates
Filter out odd numbers using filter()
Collect the result using collect(Collectors.toList())
Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.
Static methods belong to the class itself, not to any specific instance
Final keyword ensures that the method cannot be overridden in subclasses
Static methods are commonly used for utility methods that do not require access to instance variables
Example: Math class in Java has static methods like Ma
The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.
RestController is a specialized version of Controller used for RESTful web services
RestController eliminates the need for @ResponseBody annotation
Controller is used for traditional MVC controller functionality
RestController returns data directly without needing to go through a view resolve...
Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.
Microservices allow for easier scalability and maintenance of complex applications.
Each service in a microservices architecture can be developed, deployed, and scaled independently.
Microservices promote flexibility and agility in software development.
Examples of companies us...
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Intermediate operations transform the elements of a stream, while terminal operations produce a result or side-effect.
Intermediate operations include map, filter, sorted, distinct, etc.
Terminal operations include forEach, collect, reduce, count, etc.
Intermediate operations are lazy and do not execute until a terminal operation is called.
Terminal operations trigger the processing of the stream and produce a result.
Ways to create Thread in Java
Extending the Thread class
Implementing the Runnable interface
Using Executor framework
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 2 interview rounds.
The first round was an interview conducted with a GENAI virtual bot.
Spring Boot uses autoconfiguration to automatically configure the Spring application based on dependencies and properties.
Spring Boot autoconfiguration is achieved through @EnableAutoConfiguration annotation
Autoconfiguration classes are located in the org.springframework.boot.autoconfigure package
Autoconfiguration classes are conditionally applied based on the presence of specific classes or properties
based on 2 interviews
Interview experience
based on 5 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.7 L/yr |
Associate Consultant
29.1k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture