Q. What is the difference between ArrayList and Vector?
Ans. Vector is Synchronized ie we can change the size of that array But Array list is not synchronized ie once we declare the size of the array we can,t change during run time.
Q. Can an exception be rethrown?
Ans. Yes exception be re thrown by using throw keyword like throw new Exception type("message ");
If this site has helped you please click on the google ads below.
Subscribe to:
Post Comments (Atom)
First of all. Thanks very much for your useful post.
ReplyDeleteI just came across your blog and wanted to drop you a note telling you how impressed I was with the information you have posted here.
Please let me introduce you some info related to this post and I hope that it is useful for community.
Source: administrative assistant interview questions
Thanks again
Ngo