Java Collections Interview Questions with Answers
Home Java Interview Questions Revision Notes Resources Interview Tips Interview Samples

Valid HTML 4.01 Transitional

ADP WILCO Java interview
Company ADP Wilco
Date 14/03/2007
Mode Direct
Duration 25 minutes
Contributed By Sukanya
Candidate's Profile 3+ Years of Exp in Java and J2EE







Interviewer : Hi, I am Kumar. Please take ur seat.
Interviewee : Thanks.

Interviewer : Yes Sukanya. Tell me about yourself.
Interviewee : I am Sukanya working in CTS. I have been working here for the past 2 years. I did my graduation in engineering at Andhra and post graduation in M.Tech in Chennai. While doing M.Tech Project final semester i have joined as a Trainee in Megasoft. Then i moved to CTS. I have mostly worked on financial domain related projects. I am married.

Interviewer : Can you tell me more about your day to day work in office?
Interviewee : Handling support related activities and any new change is coming taking care of that coding part

Interviewer : How many members are there in ur project?
Interviewee : 4 members

Interviewer : Can u explain how u will handle when new request comes?
Interviewee : Explained the change management process...

Interviewer : Can you rate ur self in java on a scale of 1 to 5?
Interviewee : 4

Interviewer : What is the difference between String and StringBuffer?
Interviewee : Strings are immutable i.e not changeable. StringBuffers are modifiable objects.

Interviewer : What do you mean by immutable?
Interviewee : Once a string object it cannot be changed till its destruction.

Interviewer : Can you explain the same with an example?
Interviewee : Say we define a new String Object: String str = "Hello"; Now say i try to modify it as follows: str = str + "World"; Now we have 3 objects in the JVM ie "Hello", "World" and "HelloWorld" are individual objects. str is the reference to "HelloWorld" object. Now instead of creating one object we created 3 objects. For the same thing if i have StringBuffer, it would have as follows: StringBuffer str = new StringBuffer("Hello"); str = str.append("World"); Here we have one Object and one reference. So it's good to use StringBuffer when manipulating with strings.

Interviewer : How do you compare objects of String and StringBuffer?
Interviewee : using equals method.

Interviewer : Will it work?
Interviewee : mmm....

Interviewer : Ok what is toString() method?
Interviewee : toString() method will usually represent the object's data in string format. And also it depends on the implementation of toString() by the Class.

Interviewer : Now can you think about the answer to my previous question?
Interviewee : I think string buffer has to be converted to string before comparing it with string using equals() method.

Interviewer : That's right. Can you list few methods that are available at Object class leve?l
Interviewee : toString, hashCode, notify, notifyAll,...

Interviewer : Why is thread methods like notify and notifyAll is defined at Object level?
Interviewee : mmm.. I don't know...

Interviewer : Ok. In System.out.println() tell me which one is class,method,etc.
Interviewee : java.lang.System is the class, out is static variable of type java.io.PrintStream and println is a method available in PrintStream Class.

Interviewer : What is static variable?
Interviewee : It is class level variable.Only one copy exists for all objects of the class.If the value is changed in one object then the changed value will get reflected in all other objects.

Interviewer : What is bytecode?
Interviewee : During compilation, class files are converted into bytecode format.

Interviewer : Why is it converted to bytecode?
Interviewee : I am not very sure. But it is something to do with platform independence and security.

Interviewer : What are run time exceptions?
Interviewee : NullPointerException,ArrayIndexOutofBoundsException,etc. Exceptions which arise out of improper coding. Runtime Exceptions need not be explicitly handled.

Interviewer : What is Marker interface?
Interviewee : It will not have any methods in this interface.ex:java.io.Serializable,javax.rmi.remote

Interviewer : Which version of Websphere you use?
Interviewee : 5.1

Interviewer : How do u generate a ear file?
Interviewee : We mostly use ant and sometimes AAT.

Interviewer : Can you explain the architecture of your current project.
Interviewee : Explained the project...

Interviewer : What type of session beans are you using?
Interviewee : Stateless

Interviewer : Tell me the difference between Stateless session bean and statefull session bean?
Interviewee :

Interviewer : Can you name the transaction attributes?
Interviewee : Required, Requires New, Mandatory, Supports, Not Supported and Never.

Interviewer : How is Supports different from Not Supported?
Interviewee :

Interviewer : What is your best strength?
Interviewee : I am very systematic in whatever i do.

Interviewer : What is your worst weakness?
Interviewee : mmm..I am a bit short tempered.

Interviewer : I am through with my part. Do you have any questions to ask me?
Interviewee : mmm... No... Should i have to wait..

Interviewer : No.. You leave staffing division will get in touch with you.
Interviewee : Thanks sir.

Interviewer : Ok bye.


If you wish to share your interview experience, send us the entire interview questions with answers to j2eeguide@yahoo.com. The questions should be in the same order as it was asked in the interview. We will review your interview stream for originality and correctness, after which the stream will be uploaded.

java j2ee interview guide IF YOUR INTERVIEW SUBMISSION IS SELECTED, YOU WILL RECEIVE A PRINTED COPY OF "Java J2EE Interview Guide" ABSOLUTELY FREE!!!.

Rules
  • This offer is available only for contributors from India.
  • Java J2EE Interview Guide consists of the entire material hosted at JGuide.org.
  • The content sent by the contributor becomes the property of JGuide.org.
  • Shipping charges will be borne by JGuide.org
  • This offer can be withdrawn without any prior notice.
  • The decision of the JGuide team will be final.




    Pls send your questions, suggestions and feedback to j2eeguide@yahoo.com

    © Copyright JGuide 2006, All Rights Reserved.