Java Tutorials- Java Operators (Conditional Operator)

Pubblicato il: 22 settembre 2014
sul canale di: 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  


In questa pagina del sito puoi guardare il video online Java Tutorials- Java Operators (Conditional Operator) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java Dukes 22 settembre 2014, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 432 volte e gli è piaciuto 2 spettatori. Buona visione!