69 CS651 Lecture : DSA notes 11

6 views2 pages

Document Summary

| lesson 11 | dsa in java | @codingninjasindia. Java conditionals are very similar to logical conditionals that we saw on mathematical year later. So java conditionals work so we have six type of java conditions in java. every condition returns a boolean value that the uh condition can be either true or false. So depending on whether the condition is true it returns a. boolean value corresponding to it so let "s see with that example. Java conditional statements are basically used when we want to execute a block of code in some certain situations like. For example, for example,. see 9 greater than 10 was false, then 10 less than 100 was true. 9 less than equal to 9 was true was true and a equal equal equal to b returned false and a not equal to return true. So we saw six type of different conditional statements and how a boolean value is returned depending on.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions