#13 If Else If in Java

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

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
Рет қаралды 169 М.
#12 If else in Java
12:59
Telusko
Рет қаралды 181 М.
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 211 М.
GraalVM and GraalPy Meet IntelliJ IDEA
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 89
How to make Microservices Communicate?
10:24
YourTechBud Codes
Рет қаралды 42 М.
#15 Switch Statement in Java
7:59
Telusko
Рет қаралды 174 М.
#11 Logical Operators in Java
11:17
Telusko
Рет қаралды 169 М.
#8 Type Conversion in Java
12:33
Telusko
Рет қаралды 332 М.
#17 While Loop in Java
12:28
Telusko
Рет қаралды 156 М.
#52 Method Overriding in Java
7:57
Telusko
Рет қаралды 169 М.
2.6.3 Heap - Heap Sort - Heapify - Priority Queues
51:08
Abdul Bari
Рет қаралды 2,2 МЛН