i
Coforge
Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2021. There was 1 interview round.
Arraylist, linkedlist, map, and hashtable are data structures used in programming.
Arraylist is a resizable array that can store any type of data.
Linkedlist is a collection of nodes that contain data and a reference to the next node.
Map is a collection of key-value pairs where each key is unique.
Hashtable is similar to a map but is synchronized and does not allow null keys or values.
wait is used for synchronization between threads while sleep is used to pause the execution of a thread
wait is used to wait for a specific condition to occur while sleep is used to pause the execution for a specific amount of time
wait releases the lock on the object while sleep does not
wait is called on an object while sleep is called on a thread
wait can be interrupted by another thread while sleep cannot
start() method starts a new thread and calls the run() method, while run() method executes the code in the current thread.
start() method creates a new thread and executes the code in the run() method of that thread.
run() method executes the code in the current thread.
Calling run() method directly does not create a new thread.
start() method can be called only once, while run() method can be called multiple times.
A prime number is a number that is only divisible by 1 and itself.
Start by checking if the number is less than 2, as prime numbers start from 2.
Use a loop to check if the number is divisible by any number from 2 to the square root of the number.
If the number is divisible by any of these numbers, it is not prime.
If the number is not divisible by any of these numbers, it is prime.
To change the name of the third person in a table with 4-5 names.
Access the table
Identify the third person's name
Replace the name with the new name
Sum of numbers in a string with alphabets.
Iterate through the string and check if each character is a number.
If it is a number, add it to a running total.
Return the total sum of all numbers in the string.
Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are contracts that define the methods that a class must implement.
Abstract classes can have constructors while interfaces cannot
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract classes can have instance variables while interfaces cannot
Interfaces can have...
What people are saying about Coforge
I applied via Campus Placement and was interviewed in Mar 2021. There were 3 interview rounds.
Coforge interview questions for designations
I applied via Naukri.com and was interviewed in Mar 2021. There were 5 interview rounds.
Get interview-ready with Top Coforge Interview Questions
based on 9 interviews
2 Interview rounds
based on 81 reviews
Rating in categories
Senior Software Engineer
4.8k
salaries
| ₹6.2 L/yr - ₹26 L/yr |
Technical Analyst
2.6k
salaries
| ₹10.6 L/yr - ₹39.7 L/yr |
Software Engineer
2k
salaries
| ₹2.2 L/yr - ₹9.5 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹4.7 L/yr - ₹17.9 L/yr |
Technology Specialist
1.1k
salaries
| ₹12 L/yr - ₹42 L/yr |
Capgemini
Cognizant
Accenture
Infosys