Programación Java SE. (Hola Mundo)

in #javase7 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");
    }
 
}
Sort:  

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!

Coin Marketplace

STEEM 0.25
TRX 0.20
JST 0.038
BTC 95561.42
ETH 3560.31
USDT 1.00
SBD 3.76