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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Java Programming Tutorial for beginners - (Pre and Post Increment Operator in Java) - HD durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Kb Jones 04 juillet 2012, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 904 fois et il a aimé 2 téléspectateurs. Bon visionnage!