The window, Frame and Dialog classes use a border layout as their default layout.
Latest Answer : Window, Frame and Dialog ...
The Panel and Applet classes use the FlowLayout as their default layout.
Latest Answer : panel and its subclasses(applets) ...
The Collections API is a set of classes and interfaces that support operations oncollections of objects.
Latest Answer : Collection API's are a group of classes where we can store more then one objects in as a single unit. Collection give some useful API where we can directly implement the Data structures. ...
The EventObject class and the EventListener interface support event processing.
Latest Answer : Java.util.Event class ...
Wrapped classes are classes that allow primitive types to be accessed as objects.
Latest Answer : Wrapped classes are used to Primative data types as an Object.EX: int val1; val=10; val=new Integer(); ...
Name three Component subclasses that support painting.The Canvas, Frame, Panel, and Applet classes support painting.
If a checked exception may be thrown within the body of a method, the method musteither catch the exception or declare it in its throws clause.
Latest Answer : this rule is actually for handling the exceptions:that is there are two ways by ehich u can handle the exception :1:either you use the try catch statement and enclose the appropriate code in the try catch block,this is called as the catch or the HANDLE ...
The finally clause is used to provide the capability to execute code no matter whether ornot an exception is thrown or caught.
Latest Answer : In try,catch clauses either try clause(If exception is not happend) or catch clause(If exception occures) is exicuted.If we want to exicute a block of statements doesn't depend on exception then we put those block of statements in finally ...
It must provide all of the methods in the interface and identify the interface in itsimplements clause.
Latest Answer : interface enhance the concepts of inheritence. by calling multiple interfaces to class we can also inherinting more than a class indirectly ...
A Java source code file takes the name of a public class or interface that is defined withinthe file. A source code file may contain at most one public class or interface. If a publicclass or interface