What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6)

Question: What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6)

1.the question mark should be an equal sign

2.the first semicolon should be a colon

3.there are too many variables in the statement

4. the conditional operator is only used with apstrings


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!