#13 If Else If in Java

  Рет қаралды 137,123

Telusko

Telusko

Күн бұрын

Пікірлер: 16
@prabinkumar468
@prabinkumar468 3 ай бұрын
Guys really awasome video , For the best video you can go to Ratan java or Navin Java ..........Both are Best in youtube world ...........Thank you Navin for wonderful video.
@actandrepeat
@actandrepeat Жыл бұрын
Checking if the values are equal will make the program a bit faster. If you use if (x >= y && x >= z) and all three values are the same it will return x immediately instead of going to the else-if and then finally returning the z value from the last line which obviously is the same as x since x = y = z.
@AnuragRawat01
@AnuragRawat01 Жыл бұрын
Like this if(x>=y && x>=z) system.out.printli(x); else if(y>=z) system.out.printli(y); else system.out.printli(z);
@ArcturusWasTaken
@ArcturusWasTaken 8 ай бұрын
Sir really has the ability to explain well ❤ , Love the course so far, switching from JavaScript to Java, Very understandable, also i'd love if sir made some community for our questions ❤❤❤
@f1rstmani624
@f1rstmani624 Жыл бұрын
U can also apply this approarc➡️ Declare max = x If (y>max) y=max If(z>max) z=max
@Uzumaki_tanjiro
@Uzumaki_tanjiro 8 ай бұрын
broo its correct but the topic is about if else if statements he just used that program as example to explain about the topic
@KrishnaPatil-ks2vm
@KrishnaPatil-ks2vm 2 ай бұрын
For Those who don't understand why one of the condition from second if block removed and not an issue because ultimately we have to get the Highest Value among so it is not required to check for the value of X against as it is not the highest one. PS: I tried putting X value bigger than Y and we get the required results. Thank You!
@karthickm7776
@karthickm7776 4 ай бұрын
hi sir. instead of using "double and method" i used if else method and and not used any "else if" . is it ok to follow this method or the method you used is more efficient in terms of time complexity and test cases? kindly reply sir. this is for interview purposes.
@big-tech-solution
@big-tech-solution Жыл бұрын
Hello sir, i would kindly request if you include assignments as we proceed with the tutorials. Thank You.
@GenZMaster-pu3rs
@GenZMaster-pu3rs Ай бұрын
is there any paid course sir i m eager to learn
@viratcreations867
@viratcreations867 Жыл бұрын
What happen if three values are same
@AnuragRawat01
@AnuragRawat01 Жыл бұрын
For that we have to make another logic if(x>=y && x>=z) system.out.printli(x); else if(y>=z) system.out.printli(y); else system.out.printli(z);
@TechNcookBook
@TechNcookBook 8 ай бұрын
Any reason for making these my videos sir
@ProgrammingWithDataSci
@ProgrammingWithDataSci Жыл бұрын
its z not zee 😂
@vidyadharrao1894
@vidyadharrao1894 9 ай бұрын
play your comment
@N3HA20
@N3HA20 8 ай бұрын
Different places have different pronunciation hope you know that
#14 Ternary Operator in Java
4:39
Telusko
Рет қаралды 170 М.
If Else Statement In Java Tutorial #17
7:39
Alex Lee
Рет қаралды 337 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
#12 If else in Java
12:59
Telusko
Рет қаралды 181 М.
if else if ladder statement in Java (hindi) | Learn Coding
11:56
Learn Coding
Рет қаралды 104 М.
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 212 М.
#15 Switch Statement in Java
7:59
Telusko
Рет қаралды 174 М.
If statements in JavaScript are easy 🤔
15:58
Bro Code
Рет қаралды 46 М.
#9 Arithmetic Operators in Java
10:16
Telusko
Рет қаралды 222 М.