Advertisement
RyanSaq

Unit 2: Assignment 1

Dec 8th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. 1. int a;
  2. 2.Valid Identifiers: a, sales, inter, doubleSales, char
  3. 4.12.5
  4. 5.6
  5. 6.13
  6. 23.float a = 34.2;
  7. 24.int a = 10;
  8. 25.boolean a = false;
  9. 26.char a = B
  10. 33.3.3
  11. 34.b = a
  12. 38.char must be a character
  13. 39.boolean is true or false
  14. 40.26.4
  15. 41.missing ;
  16. 46.System.out.println("****")
  17. 52.It is good in the fact that everything is clear and concise but making it compact can make it harder for one to change the code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement