low volume.. difficult to understand what you speak. :(
@Smruti.909.-5 жыл бұрын
Good One ,all your explanation is from basic.
@salmanabbas82966 жыл бұрын
sir i have a doubt, what condition have you taken to be true in if(true) condition plz explain
@skrehman3 жыл бұрын
Assuming the code in if block is true...to print code in if block we hv to code if(true)
@k3tara1784 жыл бұрын
Dude this saved my comp Class test, thanks bhai
@happyVibesOnly16188 жыл бұрын
sir please show some theoretical explanation of the different concepts that are explained practically.
@arunrajak.b89873 жыл бұрын
awesome unknown fact, thank you so much navin sir
@SmartProgramming6 жыл бұрын
nice one sir, thanks for this sir 🙂
@ravidhanwal92263 жыл бұрын
nice explanation sir...
@nandishpatel16544 жыл бұрын
sir can you explain in detail about this ternary operator. I really don't understand the last example.
@NikhilRaj-bh7wc6 жыл бұрын
On compiling, I'm getting this message: F:\Begins\JAVA\IntelliJ\ControlStatementsAndArrays>javac IfElseVSTernOp.java Note: IfElseVSTernOp.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. What is "-Xlint" ?
@AkashSingh-yp8rt5 жыл бұрын
i used float instead of double then too it showed 10.0 as output.....Why? dont they take same space.
@saidivyalakshmireddy46488 жыл бұрын
sir ... the functioning of the ternary operatior is same as in dz above example for c programming too..... I jst wanna know..... plzzzz rply me sir
@vladanulardzic58594 жыл бұрын
Hi, very nice explanation! Easy to understand! Can you make video regarding chained ternary operator - little more complex? Thank you. Keep on.
@37_komalpatil164 жыл бұрын
Great sir.. thank you
@VoracitySensei4 жыл бұрын
really helpfull i really need that
@nithyashreenaidu83574 жыл бұрын
what is that new,object,integer sir
@sanjaych55018 жыл бұрын
sir, upto now u have not explained about object and u area suddenly using object
@screwedidiot9378 жыл бұрын
Object Itself Is A Class. All The Other Classes are SubClass Of Object Class.
@sid7926 жыл бұрын
Is it necessary to write package com.navin ; in this coding
@thiagarajanselvaraj90445 жыл бұрын
Sir, in this video ,sound is not audible. And this problem is occuring in some of the other videos also.Kindly do the needful
@avinod43017 жыл бұрын
can u explain what if it's multiple expression instead of single(?) "var='(exp1)?(exp2):(exp3)".
@poojaprogrammer46663 жыл бұрын
We can use if else statement only if there are 2 conditions and same is applicable for ternary
@avinod43013 жыл бұрын
@@poojaprogrammer4666 can you add some quick snippets for helping me understand better
@dpanjobs82108 жыл бұрын
Could u able to run using user input and execute the condition acording to the user input
@screwedidiot9378 жыл бұрын
Use These Statements Of Code Scanner reader = new Scanner(System.in); // Reading from System.in System.out.println("Enter a number for i: "); int i = reader.nextInt(); // Scans the next token of the input as an int.
@k3tara1784 жыл бұрын
use scanner for that
@MdAzad-hb7vc5 жыл бұрын
Great tutorial, clearly explained!
@fathiyaadel94097 жыл бұрын
amazing video
@monsaa66073 жыл бұрын
Thnx
@antarasaha39055 жыл бұрын
Why don't you improve the sound quality? sometimes it feels like you are shouting and the next moment nothing is audible.
@________________88727 жыл бұрын
Currently using your videos to read code and figure out ways to create plugins for a custom programmed MC server I wanna make. Your videos are clear, short, and easy to understand. +1 like for each video and +1 sub for you. :)
@asimshahzad49987 жыл бұрын
and if value in the right is smaller then what ??? e.g . true?new Integer(10):new Double(5.0); in my case it also gives 10.0 although 5.0 is smaller than 10 but it is selecting the data type of minimume number i.e 5.0
@UncoveringTechnologies6 жыл бұрын
true?new Integer(10):new Double(5.0); The above statement's condition is not depended on the size of data. But, it is depended on the statement which is written on the left of *question* *mark* (?). Because it is written "true" in the condition statement, that's why it always produces 10 as output.
@siddharthamyakala89613 жыл бұрын
See the memory occupied by the data type, not the value assigned. Double occupies 8bytes whereas integer occupies 4bytes
@chalapathinagavarmabhupath84324 жыл бұрын
what is the object in this video? Is it is an inbuilt class or derived datatype and what is the use of it. Can anyone help me
@ashishmeshram1107 жыл бұрын
class MyClass { public static void main(String args[]) { { int x = 5; if (x < 1); System.out.println("Hello"); } } } in the program above the output is Hello. I don't understand why?
@manishjain70217 жыл бұрын
remove ; after if statement's condition...then only the next statement will be executed when condition evaluates to true.
@waqasshabbir18436 жыл бұрын
Your condition if(x
@pronobsaha17964 жыл бұрын
Great sir🙏🙏
@jvsainikhil93052 жыл бұрын
reason behind keeping new,why cant we write directly
@btechtechie32384 жыл бұрын
But what is the condition there. It is difficult to understand
@pritishdeshpande45328 жыл бұрын
what is the difference in between "int" and "Integer"??
@screwedidiot9378 жыл бұрын
In Java, the 'int' type is a primitive , whereas the 'Integer' type is an object.
@shreyasingh35084 жыл бұрын
@@devendra5290 yes
@onlinejobnepal59328 жыл бұрын
I did not understand why obj1 becomes true and obj2 becomes false. please reply..
@akhilsuresh95368 жыл бұрын
Its not like that. While using if , obj1 gets integer value 10. obj2 is also true. So the first stmt is executed which means obj2 also gets new Integer(10). But its the property if ternary operator that it examines the datatype of both the cnditions. Whichever datatype is large, The right statemnt will get executed changing its current datatype to bigger datatype.
@neeharikapatel44605 жыл бұрын
What is 'object' in this video??? Is it data type??
@kadiyalasaisowmith87393 жыл бұрын
yeah...its a non-primitive data type like strings
@aidandanielski7 жыл бұрын
Favoring Double over Integer is stupid.
@sjagnani9 жыл бұрын
You didnt tell what an object data type is?
@pratikbhardwaj38047 жыл бұрын
Object is parent of all classes
@dimpalbhatia50377 жыл бұрын
sir what is object keyword ???
@sourabhkumarsingh96487 жыл бұрын
sir speak loudly
@HARSHKUMAR-fi5fr6 жыл бұрын
volume is not good !!
@namasreerama66184 жыл бұрын
Sir voice is slow so speak highly
@shrutisharma76347 жыл бұрын
Volume is too low.
@HP1604986 жыл бұрын
Turn it up bitch
@kaustubh.sharma6 жыл бұрын
HP160498 xD
@pavanmudhole20653 жыл бұрын
2:40 Im not understding wt you doing
@mohamedthoufiqm8108 Жыл бұрын
❤️
@aryangpg5 жыл бұрын
low volume sir!!!
@evin76714 жыл бұрын
Thoda awaaz lao mooh me
@AustinCS6 жыл бұрын
You sound like you're eating a bowl of soup
@rameshgaming10207 жыл бұрын
hey be clear.you are not audible properly.
@ajaypratapsingh54004 жыл бұрын
Toda tez bola krna
@vivekkandhagatla86847 жыл бұрын
poor voice clarity
@tanishqtripathi52284 жыл бұрын
not good tutorials teaching without giving prior knowledge about the things used in programming . first explain what is object then teach about object..................................'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''