01:198:111 Lecture 2: rec2

93 views1 pages
cyansea-lion159 and 56 others unlocked
01:198:111 Full Course Notes
47
01:198:111 Full Course Notes
Verified Note
47 documents

Document Summary

Your peer leader will be making sure you are able to compile and run java code in recitation. Please have the jdk downloaded before recitation begins. Exercise 1: basic syntax/typing find the bug! Declaration/assignment int x = 5 double = a; char f" = g; boolean b = true. Typing (are these declarations correct or incorrect?) int x = 2. 0; boolean y = false; char a = b; double e = 100. Boolean expressions if ( boolean == true) if ( var = true) if ( boolean == false ) if ( var == 5 & x = 3) . Public static void main (string [] args) { string s == goodbye!"; system out. println(hello world!

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