Java Tutorials- Java Operators (Conditional Operator)

Publié le: 22 septembre 2014
sur la chaîne: Java Dukes
432
2

Java Dukes--
   / javadukes  

In this video you will learn about the conditional operator that is used in Java.In java there is only a single conditional operator i.e. ternary operator (?:) used.This operator is known as ternary operator because it takes three arguments. the general syntax of ternary operator is

exp1?exp2:exp3

Here exp1 is a Boolean expression which will return either a true value or a false value as result.If on evaluation of exp1 the result is true then exp2 is returned as output and if on evaluating exp1 the result comes false then exp2 is returned as output.

Java Dukes--
   / javadukes  


Sur cette page du site, vous pouvez voir la vidéo en ligne Java Tutorials- Java Operators (Conditional Operator) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Java Dukes 22 septembre 2014, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 432 fois et il a aimé 2 téléspectateurs. Bon visionnage!