Guest User

Untitled

a guest
Jan 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. demikhov@theLab ~/Desktop/experiment $ vim t.java
  2. demikhov@theLab ~/Desktop/experiment $ javac t.java
  3. t.java:3: incompatible types
  4. found : int
  5. required: boolean
  6. boolean flag = 1;
  7. ^
  8. 1 error
  9. demikhov@theLab ~/Desktop/experiment $ cat t.java
  10. class t {
  11. public static void main(String[] args) {
  12. boolean flag = 1;
  13. System.out.println("Done!");
  14. }
  15. }
Add Comment
Please, Sign In to add comment