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 Жыл бұрын
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 Жыл бұрын
Like this if(x>=y && x>=z) system.out.printli(x); else if(y>=z) system.out.printli(y); else system.out.printli(z);
@ArcturusWasTaken8 ай бұрын
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 Жыл бұрын
U can also apply this approarc➡️ Declare max = x If (y>max) y=max If(z>max) z=max
@Uzumaki_tanjiro8 ай бұрын
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-ks2vm2 ай бұрын
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!
@karthickm77764 ай бұрын
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 Жыл бұрын
Hello sir, i would kindly request if you include assignments as we proceed with the tutorials. Thank You.
@GenZMaster-pu3rsАй бұрын
is there any paid course sir i m eager to learn
@viratcreations867 Жыл бұрын
What happen if three values are same
@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);
@TechNcookBook8 ай бұрын
Any reason for making these my videos sir
@ProgrammingWithDataSci Жыл бұрын
its z not zee 😂
@vidyadharrao18949 ай бұрын
play your comment
@N3HA208 ай бұрын
Different places have different pronunciation hope you know that