Programación Java SE. (Hola Mundo)
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");
}
}
Perfectly!
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
Congratulations @hackshirama! You received a personal award!
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!