Programación Java SE. (Hola Mundo)

in javase •  7 years ago  (edited)

Programación Java SE. (Hola Mundo)

Este es un ejercicio sencillo para comenzar con Java SE:

public class HolaMundo {
 
    public static void main(String[] args) {        
        System.out.println("Hola Mundo");
    }
 
}

Donde:

public class HolaMundo{

Es la clase a lo cual "HolaMundo" es el nombre del archivo .java

public static void main(String[] args) {    

Es el nombre del método principal a lo cual nos permitirá ejecutar el código.
main (Significa en español: Principal)

Es la sentencia que muestra el resultado.

System.out.println("Hola Mundo");
    }
 
}
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @hackshirama! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Round of 16 - Day 4


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @hackshirama! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!