Unformatted text preview: pressions may be defined by linking other Boolean expressions using
logical operators. • (myBalance <= yourBalance) && (yourAge > 20)
• (! (myBalance <= yourBalance) ) !! (yourAge <= 20) • Boolean expressions may be assigned to boolean variables. • boolean isHeOlder = (myAge < hisAge) ; Page 7 Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP...
View Full Document
This document was uploaded on 03/03/2014.
- Spring '14