Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Dec 19, 2024
1 parent 3d6883e commit 59cd6f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions java/examples/other/MixedAdd.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@ public static void main(String[] args) {
System.out.println("The sum: " + (a+c));
System.out.println("The sum: " + (a+d));
System.out.println("The sum: " + (a+f));
System.out.println("The sum: " + (f+a));


// MixedAdd.java:16: error: bad operand types for binary operator '*'
// String line = "-";
// System.out.println(line * 23);
}
}

0 comments on commit 59cd6f9

Please sign in to comment.