Changes

Jump to navigation Jump to search
296 bytes added ,  20:30, 2 April 2015
no edit summary
Line 269: Line 269:  
[https://github.com/rafahsolis/javaTutorial/blob/master/Info.java Info.java]<br />
 
[https://github.com/rafahsolis/javaTutorial/blob/master/Info.java Info.java]<br />
    +
== public/private/protected variables ==
 +
public → can be accesed from anywhere.<br />
 +
public final static → constant.<br />
 +
private → can only be accesed from the class where it was declared.<br />
 +
protected → can only be by the class where it was declarated and from it's child classes.
    
== Eclipse shortcuts ==
 
== Eclipse shortcuts ==

Navigation menu