Then we go to the Assignment Operator Program in Java. like equals to ,not equals to....here you cans understand how to take input from user ,how set data in a variable... for that we don't create a new program . so lets see ...
Do you know ,what is Conditional Operator?
Syntax : Condition ? True : False
Then you can watch data types in java ,what is the type of data type , Primitive data type and non premitive data type , array is what type of datatype? . you can watch by clicking the link.
After Practicing Data types ,what the next ? let`s find out ,what is Arithmetic Operator. Arithmetic operators are addition , subtraction, multiplication, division and reminder.
Next ,we provide Even Odd program ,It is also use of If Else Program in java ,
syntax: if( Condition ){
statement1;
}
else if( Condition 2){
statement2;
}
else{
statement 3
}
Now Just see Do While loop ,how it work and all
syntax:
do{
statement ;
}while(Condition);
Next we should know about for loop.
Syntax: inside the link.
After this let`s go for java Spelling program ,where you can find a number with proper English Spelling.
like 1 = One this is a proper use of Switch case
We have explained break and continue statement with the help of beautiful program.
We all know about Armstrong number. so here is the program in java.
10. Armstrong Number
0 comments:
Post a Comment