Teams Interview Q2. Explain public static void main(String args[]) in Java.
main() in Java is the entry point for any Java program. It is always written as public static void main(String[] args).
public: Public is an access modifier, which is used to specify who can access this method. Public means that this Method will be accessible by any Class.
static: It is a keyword in java which identifies it is class-based. main() is made static in Java so that it can be accessed without creating the instance of a Class. In case, main is not made static then the compiler will throw an error as main() is called by the JVM before any objects are made and only static methods can be directly invoked via the class.
void: It is the return type of the method. Void defines the method which will not return any value.
main: It is the name of the method which is searched by JVM as a starting point for an application with a particular signature only. It is the method where the main execution occurs.
String args[]: It is the parameter passed to the main method.
I applied through a recruiter. I interviewed at Coforge (Pune) in Apr 2026
Interview
2 rounds
L1 was virtually L2 was F2F.
Both went well from my end.
But they don't mind your time and efforts. I travelled 25 km for L2 everything went well despite that they rejected my profile saying requirement change
I applied online. I interviewed at Coforge (New Delhi) in Feb 2026
Interview
The interview process started with total of two rounds including technical round and client technical round. After clearing the technical round, the HR went on vacation for a week and suddenly after 8 days I got to know I cleared my technical round and I have client technical round. After clearing that round I was told like I'm 90 percent selected and I just need to give an hackerrank testas formality. I gave that too and once I cleared that the project manager started discussing ctc over call as I had another offer then I got to know I have techno managerial round since I wanted to join the project I gave that too and cleared that as well. After that I had detailed discussion with project manager what benefits and perks I'll get on joining coforge and I was told that I'll get the offer letter in 2-3 days. After 2 days I got a call from project manager and was told that I just need to attend a call for interaction with the team lead of client team and normal discussion will happen after joining the discussion I got to know it was also a kinda interview and after that discussion I never got a call from coforge, not even a intimation whether I got selected or rejected or what happened after that discussion.
Interview questions [1]
Question 1
The client team were technical and specific regarding what I did in past and what I currently do and what I'll be doing but in the end it felt like it was all just time pass
Started with One coding question then asking about solid principles and design patterns and they started asking about Authentication and Authorization and ApI gateway and Java 8 features about streams and Optional class
Interview questions [1]
Question 1
Solid principles and design patterns and Authentication and Authorization