Interview Questions And Answers
Q: - Can you write a Java class that could be used both as an applet as well as an application?
Yes, Add a main() method to the applet.
Submitted By:-Williams Email-ID: -tomwilliams45@rediff.com
Q: - What's the difference between J2SDK 1.5 and J2SDK 5.0?
There's no difference, Sun Microsystems just re-branded this version.
Submitted By:-Williams Email-ID: - tomwilliams45@rediff.com
Q: - You are planning to do an indexed search in a list of objects. Which of the two Java collections should you use: ArrayList or LinkedList?
ArrayList
Submitted By:- Williams Email-ID: - tomwilliams45@rediff.com

