Interview Questions for Senior Java Developer at Iris Software, Noida
Overview:
Iris Software provides cab as well as lunch for interviewee. It's take first written then two technical rounds after then a client round.Interview Questions:
- What's your role in your current project.
- Which java version you are using in your project and what are the new feature in that.
- Why Exception class is checked exception but it's child Runtime is unchecked exception.
- What is the use of SerialVersionUID in serialization. Can we also change the properties after serialize any object.
- There are two methods void some(Object obj) and void some(String str) if I will some(null) which one will call.
- What is the difference between notify() and wait() methods.
- What are all way to create thread in java and also describe Executors.newCachedThreadPool()
- Would given code compile successfully or what ? try{throw new Exception()}catch(Exception e){}
Answers:
5. It will call to some(String str ) methods
6. wait() method is use to release the lock and also change the state of the thread. The thread will move into waiting state. but notify() method is wake-up other a thread which was in waiting state.
Comments
Post a Comment