collections, multithreading ,exception handling , String buffer/builder
Java Software Developer Interview Questions
4,192 java software developer interview questions shared by candidates
Left outer Join query in table
//What will be minimum and maximum number //that will be printed? class AbcThread extends Thread{ private int[] _arr; public MyThread(int[] arr){ this._arr = arr; } public void run(){ for (int i=0;i<20 ; i++) { this._arr[0]++; } } public static void main(String[] args) { int[] arr ={0}; try { MyThread t1 = new MyThread(arr); MyThread t2 = new MyThread(arr); t1.start(); t2.start(); t1.join(); t2.join(); }catch(Exception ex){ System.out.println("Exception "+ex); } System.out.println(arr[0]); } }
- Explain project that you have done (stack you used) - Explain how you overcome difficulties in a team project - Talk about yourself and previous job experience - Talked about general testing knowledge (coverage, mockito, junit, testcontainers, jenkins, automation with selenium, etc.) - General questions
there are 6 question one of them coding
java questions, OOPS concept , HTML, CSS, JS
advantages of c over java
There were few timed MCQ related to time complexity of algorithms. One coding question which was basically simulating FSM.
1. Explain internal working of HashMap 2. Explain how you test your code
Non-Tech: 1. Tell me about yourself 2. What industry were you in? 3. What techs do you know and used? 4. What is your current work arrangement? 5. Reason for job change (previous and now) 6. Were your projects in development or maintenance? Tech (Java, Web, Spring, Docker, SQL, Security): 1. What version of Java do you know? 2. Java - What is Interface and Abstract? When do you use one over the other? 3. Java - Differences between StringBuilder and StringBuffer. 4. Java - What is Message Digest? 5. Web - What is in a Http Request? 6. Web - How does a server differentiate between sessions? 7. Spring - How would you create an API? What layers would you use? 8. SQL - What do you know about the "HAVING" keyword? 9. Security - What do you know about Cryptography? 10. Security - Session vs Token-based authentication 11. Security - What is in a JWT? 12. Security - How do you validate/verify a JWT? 13. Security - Have you heard of RSA? 14. Docker - what can you tell me about Docker? 15. Docker - what is in a Dockerfile?
Viewing 681 - 690 interview questions