Java Programming Tutorial for beginners - (Pre and Post Increment Operator in Java) - HD

Pubblicato il: 04 luglio 2012
sul canale di: Kb Jones
904
2

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.


In questa pagina del sito puoi guardare il video online Java Programming Tutorial for beginners - (Pre and Post Increment Operator in Java) - HD della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kb Jones 04 luglio 2012, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 904 volte e gli è piaciuto 2 spettatori. Buona visione!