Skip to content

Instantly share code, notes, and snippets.

@ea2305
Created August 7, 2016 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ea2305/16dc5d8dbf17ef05e7bd92e4fe5a4067 to your computer and use it in GitHub Desktop.
Save ea2305/16dc5d8dbf17ef05e7bd92e4fe5a4067 to your computer and use it in GitHub Desktop.
public class Test{
static String variable_alcance_global = "Esto funciona !";
public static void main(String []args){
System.out.println( variable_alcance_global );
funcionPrueba();
}
public static void funcionPrueba(){
System.out.println( variable_alcance_global + " de nuevo");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment