Latest Answer : What is the difference between servlet container & servlet component? ...
Latest Answer : Methods cannot be overloaded only on the basis of return type atleast one argument should be different, otherwise compiler will give the message "The function is already defined in the class". ...
Latest Answer : access modifiers are applicable to class,variable and methods, some of access modifiers are final,static,synchronized,volatile,native,abstract and transient. ...
Latest Answer : Different type of modifiers 1. public 2. private 3. Protected 4. defaultThese are also known as qualifier ...
Latest Answer : There are 8 different primitive datatypes in Java:- 1)byte 2)short 3)int 4)float 5)double 6)long 7)char 8)boolean ...
Latest Answer : stream is a logical entity and an abstraction that either produces or consumes information. input streams, output streams ...
Latest Answer : An object that describes a change of state in a source component [ Elements of the GUI] is called event.
When we interact with these Source Components, their state changes then various events to occur.
Example:
Pressing a mouse button, moving a mouse ...
Latest Answer : Listeners are created by implementing one or more interfaces defined by the java.awt.event Package.Commonly used Event Listener Interfaces: 1.ActionListener : This interface defines the actionPerformed(). It is invoked ...