Introduction :-
Hello friends , how are you all once again I welcome to all of you in my website Technology Inspire ( If Else statement ) .
Today I will tell you complete information about the if else statement in this website Technology Inspire . Before understanding the if else statement , we need to know about the java language and the compiler used in it .
Java & Compiler
JAVA :- java is a high level programming language with the help of java language the developers create & design many more software like web applications , mobile applications or games etc ( if else statement ) .
To understand more about java programming then click on this Link . here
Compiler :- compiler is used in the program to convert java language in machinery language . This is because the computer understands only the machinery language . Later , with the help of compiler , we get the output in java language instead of machinery language (if else statement) .
If Else Statement :-
The if else statement works exactly like if statement program also operates on two conditions true or false . The only difference between these two is that in the if statement we get the output only when the condition is true , but in the if else statement you get the output if you have both the conditions is true or false ?
Next in this article , with the help of a simple program , we will know the if else statement in a better way .
parctical :-
class Ifelse{
public static void main (String [] args ){
int Age ;
Age = 18 ;
// if else statement code write here
if (Age == 18 || Age > 18) {
System.out.println("I am not a child.");
}
else {
System.out.println("I am child.");
}
}
}
OUTPUT
I am not a child.
YouTube help :-
If there is anything in this article that you have not understood, then with the help of my YouTube channel (Technology Inspire ) you will understand easily . click on the YouTube video below (if else statement ).
If you found anything helpful in this video or article , then do like , share and Subscribe my youTube channel and this page (if else statement ) .
NOTE :-
I hope that in today’s article you all know well what is if else statement and how is work ?

Thank you all for reading this article till the end . If any one of you feel that some changes are need in this article or if you all want an article on some other topic , then definitely tell in the comment box so that very soon I will give another update on that article or that doubt . I can clear (if else statement ) .
So that’s all for today , with another new update in next article , good bye till then!
All of you also follow on my YouTube channel.
Related post