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 >> operator carries the sign bit when shifting right. The >>> zero-fills bits that havebeen shifted out.
Latest Answer : While dealing with (+)ve numbers there is no difference between >>> and >> operators.Both operators shift zeros into the upper bits of a number.The difference arises when dealing with (-)ve numbers.Since (-)ve numbers,(-)ve numbers have ...
When a task invokes its yield() method, it returns to the ready state. When a task invokesits sleep() method, it returns to the waiting state.
Latest Answer : yield method is mainly used to release the lock of resource and pull up in to steady state from wait pool. Sleep() will pull the thread to sleep for the given time. It will throws exception while trying to intrupt in b/w the sleep state ...
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(); ...
Under preemptive scheduling, the highest priority task executes until it enters the waitingor dead states or a higher priority task comes into existence. Under time slicing, a taskexecutes for a predefined
Latest Answer : 1. Pre-emptive Scheduling.Ways for a thread to leave running state -· It can cease to be ready to execute ( by calling a blocking i/o method)· ...
Name three Component subclasses that support painting.The Canvas, Frame, Panel, and Applet classes support painting.
The CheckboxMenuItem class extends the MenuItem class to support a menu item thatmay be checked or unchecked.