This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes some questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "some questions" Watch "some questions" New topic
Author

some questions

amit sanghai
Ranch Hand

Joined: Dec 05, 2000
Posts: 231
1: Objects may be duplicated using:
a) The new method, giving the name of the object to be copied as the parameter.
b) The clone method
c) The copy method
d) An assignment statement
2:Which Utility class would you use if you want to have an array which can be extended dynamically while your Java program runs?
a) An Enumeration
b) A Hashtable
c) A Malloc
d) A Vector
Ashish Kothari
Ranch Hand

Joined: May 16, 2003
Posts: 37
(1)clone method should be used.
(2) vector ,arraylist is a better option.
Ashish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: some questions
 
Similar Threads
ActionEvent question required
Logic with a looping method
quadruple
another way to write this
GC ??