![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Objects that subclass the Observable class maintain a list of observers. When anObservable object is updated it invokes the update() method of each of its observers tonotify the observers that it has changed Latest Answer : Observer observe only those class which are Observable. ... The List interface provides support for ordered collections of objects. Latest Answer : The list interface extends Collection and declares the behaviour of a collection that stores a sequence of elements. Elements can be inserted or accessed by their position in the list, using a Zero-based index. Alist may contain duplicate elements. ... Name three subclasses of the Component class.Box.Filler, Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, orTextComponent Two methods may not have the same name and argument list but different return types. Latest Answer : Two methods must have same name with different argument list , different return types. Only different return types is not sufficient. ... A Choice is displayed in a compact form that requires you to pull it down to see the listof available choices. Only one item may be selected from a Choice. A List may bedisplayed in such a way that several Overridden methods must have the same name, argument list, and return type.The overriding method may not limit the access of the method it overrides.The overriding method may not throw any exceptions that The List interface provides support for ordered collections of objects. Answered by Scott on 2005-05-12 09:44:53: Overloading: The same method name with a different signature (generally input argument list) written in the same class. Overriding: The identical method Latest Answer : Overloading:Methods or functions having same method or function name but have different no. of arguements or different types of arguements. Overriding: Method or functions having same method r function name,type and no. of arguments are ... Latest Answer : A Set is a collection that has no duplicate elements. A List is a collection that has an order assoicated with its elements. A map is a way of storing key/value pairs. The way of storing a Map is similar to two-column table. ... Objects that subclass the Observable class maintain a list of observers. When anObservable object isupdated it invokes the update() method of each of its observers to notify the observersthat it has changedstate.
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||