Java TUTORIAL ITA - Imparalo SUBITO in questo corso RAPIDO per principianti in ITALIANO ! [2019]
What Is Java? | Java In 5 Minutes | Java Programming | Java Tutorial For Beginners | Simplilearn
Java Full Course [NEW]
This Keyword in Java Full Tutorial - How to Use 'this'
Intro to Java Programming - Course for Absolute Beginners
Java Tutorial for Beginners | Learn Java in 2 Hours
Java Programming Tutorial 1 - Introduction to Java
Learn Java Programming with Beginners Tutorial
Java Tutorial
#1 Java Tutorial for Beginners | Getting Started
Java Full Course in 10 Hours | Java Tutorial for Beginners [2024] | Java Online Training | Edureka
Learn Java in 25 minutes | Java Tutorial for Beginners
Комментарии
Thanks, Taylor, thanks for teaching me and showing me how to type it, too. Now I understand why a "Switch" is supposed to be a more efficient type format than yet another If-then-else block.
peterjerz
pretty nice, i hope your other videos are as good as this one, if they are i would like to subscribe twice.
UltraAnalisis
there is wrong in the switch !!
you didn't used the break after every case !
and thank you ^^
Rafa-igps
Yes, Daddy and I added "break;" after each "case", and it worked!
peterjerz
can we use a condition in switch case? like
switch(i){
case i>85 : System.out.println("A grade");
break;
case i>65 : System.out.println("b grade");
break;
case i>55 : System.out.println("c grade");
break;
case i>36: System.out.println("d grade");
break;
default : System.out.println("fail");
}
KOTHAABHISHEK
arent you supposed to use a{ break; ] after each switch statement???
cursedburny
Hi if you could please help me with my minor problem that would be great.
I have 6 Jtextfields that users are suppose to fill in.
I want a if statement for every field to check if the answer is correct.The first if statement works, But as soon as I add a second if statement in my Jbutton source it doesnt work.
Here is my code so far:
int TotalCorrect = 0;
int Answer1 =1;
int Answer2 =2;
int Answer3 =3;
int Answer4 =4;
int Answer5 =5;
int Answer6 =6;