- 7

if-statements

what happens if the if statement didint excist?

7th Mar 2017, 12:18 AM
diogo
10 Respuestas
+ 16
If the if statement does not exist, it does not run.
6th Mar 2017, 3:22 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
No one understands the question, so either this is a joke, or you're saying it wrong. I ran that string assumed to be binary through a translator, and got uj®ÊURõT. No help there.
6th Mar 2017, 3:15 AM
Alexander Slater
Alexander Slater - avatar
+ 1
there would be no second option/choice in absence of "IF" statement. Then only one command will have to be executed though it is positive, negative or null.
7th Sep 2019, 6:05 PM
N S Alei
N S Alei - avatar
+ 1
It will show u a error
13th Jun 2020, 6:59 AM
Devika Krishnan
Devika Krishnan - avatar
+ 1
we can use some some other conditions like while, for, switch. switch would be the best option in case if don't have "if". Here is an example: int x=10; if (x==10){ System.out.println("yes"); } else{ System.out.println("no"); } switch(x){ case 10: System.out.println("yes"); break; default: System.out.println("no"); } I hope this is correct !!!
9th Jul 2020, 6:49 AM
rakshitha akkireddy
rakshitha akkireddy - avatar
0
Привет
22nd Jul 2020, 6:56 PM
МaRk Matsje
0
Run
27th Dec 2020, 8:33 AM
Sachin Kamdar
Sachin Kamdar - avatar
- 1
i type bad. sorry
7th Mar 2017, 12:18 AM
diogo
- 1
I have designed a social media application called BestieApp. Download it for free https://apkpure.com/p/bestieapp.aplieut
29th Sep 2019, 9:28 PM
Kelvin Simweemba
Kelvin Simweemba - avatar
- 1
Error ♥️
16th Oct 2019, 2:08 PM
Ali Idress
Ali Idress - avatar