This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
//Boolean expressions | |
//1. Equality | |
const t1 = 1 == 1; //true | |
const t2 = 1 != 2; //true | |
String s1 = "Dog"; | |
bool t3 = s1 == "Cat"; //false | |
//2. AND, OR |