Education Site
Monday, 11 September 2017
Inner class types
Inner class
It has declared either static or non-static.
It can be accessed all the properties of its outer class.
two types
o
Named Inner class
o
Anonymous Inner class
Inner class
Inner class
It has declared either static or non-static.
It can be accessed all the properties of its outer class.
java.util.EventObject
java.util.EventObject
public Object getSource();
WindowEvent
WindowEvent
public Window getWindow();
KeyEvent
KeyEvent
methods:-
public int getKeyCode();
public char getKeyChar();
public void setKeyCode(int);
public void setKeyChar(char);
constant fields:-
public static final int VK_A;
public static final int VK_1;
public static final int VK_ENTER;
public static final int VK_SHIFT;
MouseEvent
MouseEvent
methods:-
public int getX();
public int getY();
public int getClickCount();
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)
Featured post
Development Of JAVA Program
Java - Sample Program
class Sample { public static void main(String s[]) { System.out.println("welcome"); } }
Development Of JAVA Program
Compiler : Is a translator which is used to convert source code into intermediate language, Interpreter : It is used to transalate the r...
Let Us Java
http://www.amazon.in/Let-Us-Java-Yashavant-Kanetkar/dp/8183334679?_encoding=UTF8&creativeASIN=8183334679&linkCode=w00&linkId=a1...