Ternary Operator Example in Java (Hindi) | Learn Coding

preview_player
Показать описание
Java Full Course for Beginners...!👇👇

Please Like | Share | SUBSCRIBE our Channel..!
Learn Coding
🙏🙏🙏

Like our Facebook Page...!
Learn Coding

Don't forget to tag our Channel....!
#TernaryOperator
#LearnCoding
#ask4help
#conditionaloperator
#ternaryoperatorinJava
#JavaConditionalOperator
#Operators
#JavaOperators
#OperatorsInJava
#TypesOfJavaOperators
Рекомендации по теме
Комментарии
Автор

thanks a lot was very confused but after watching this vid it is crystal clear

priyankagupte
Автор

Nice explanation thankyou so much 🙏🏼🙏🏼🙏🏼

someshsahu
Автор

Lots of love Now i can solve the ternary related questions ❤🙌🏻👍🏻

The_Aqua_Guru
Автор

Thankss sir now imma pass my lots of :))))

aceasap
Автор

thanks for teaching us in a simple way sir.
sir its my request to you make a seperate video on the topic left shif and right shift operator.please sir

BhawanaBhakuni
Автор

Rewrite using ternary👇
if (a>b)
Sopln (a) ;
else if(a<b)
Sopln (b) ;
else
Sopln( "equal") ;

Sir please solve this question

AnjaliKumari-rpzn
Автор

this line meaning?
Arrays.sort(arr, (a, b) -> a[1] == b[1] ? b[0] -a[0] : a[1] - b[1]);

SuryaChallagali
Автор

Good job bro
Plz pray for me
Because my exam are near

shrutigautam
Автор

Write a program to input three angles of a triangle check and display whether the triangle is possible or not. (By using a ternary operator)...Plz solve this program

asraulhoque
Автор

Can you suggest me an application to practice programming in android phone?

siddhi
Автор

import java.util.Scanner;
public class Ternary {
public static void main(String args[]){
int a, b, c, Max;
System.out.println("Enter Three Number....");
Scanner obj=new Scanner(System.in);
a=obj.nextInt();
b=obj.nextInt();
c=obj.nextInt();
Max=(a>b) ? (a>c ? a:c) : (b>c ? b:c);
System.out.println(Max);
}

}

idurrtp
Автор

Sir some program folder mai save karke... Compile Aur run karke batao na plz.. O desktop pe bahut sare hojare program folder save rahte Achese... 🙏

un_known
Автор

Sir which app you are using to make programming.

kusumlatayadav
Автор

Sir mene four number se try kara big number find kar ne ke liye but error show rahi hai.

ye raha mera code.

class Test
{
public static void main(String args[])
{
int a=10, b=20, c=30, d=40, max;

max = (a > b) ? ( a > c ? a:c) ? (a > d ? a:d) : ( b > c) ? (b > d ? b:d) : (c > d ? c:d);

System.out.println(max);
}
}

pateldanish
Автор

Aapne programm likhne ke liye iss video main konsa application use kiya hai . Please bata di jiye

kusumlatayadav
Автор

Sir buzz number kaise find karenge ternary operator ke sath please bata dijiye

velocityx
Автор

Java, Java script ek hi hai ya alag hai

mohdshareef
Автор

Sir bluej ka istamal kar la asan hota ha usaa

MSINGH-cfyv
Автор

0:43, brother don't say main method say main function.

nickbro
Автор

Dislike karne wala akela mai hi hoon bcause
Variable kabhi bhi small letter se likhana start karte hai.
except if a variable is static and final.

manashharshvardhan