In java Program the main class name has to be same to the program name.
The main method have to be declared as public static void main(String args[ ]).
In this program the concept of post and pre increment has been shown;
suppose x=10,y=++x;
this means x=x+1 ; and y=x;
so the result will be x=y=11;
and suppose x=10 ; and y=x++;
this means y=x;x=x+1;
so the result will be x=11 and y=10.
En esta página del sitio puede ver el video en línea Java Programming Tutorial for beginners - (Pre and Post Increment Operator in Java) - HD de Duración hora minuto segunda en buena calidad , que subió el usuario Kb Jones 04 julio 2012, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 904 veces y le gustó 2 a los espectadores. Disfruta viendo!