From 1863a5de878d527ade6d15f0e4c4ad92695c054d Mon Sep 17 00:00:00 2001 From: Jake Prather Date: Mon, 1 Jul 2013 07:59:59 -0500 Subject: Text fix. --- java.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java.html.markdown b/java.html.markdown index e0ef49c3..587e793e 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -121,8 +121,8 @@ int i1 = 1, i2 = 2; // Shorthand for multiple declarations // Arithmetic is straightforward System.out.println("1+2 = "+(i1 + i2)); // => 3 -System.out.println("1-2 = "+(i2 - i1)); // => 1 -System.out.println("1*2 = "+(i2 * i1)); // => 2 +System.out.println("2-1 = "+(i2 - i1)); // => 1 +System.out.println("2*1 = "+(i2 * i1)); // => 2 System.out.println("1/2 = "+(i1 / i2)); // => 0 (0.5, but truncated towards 0) // Modulo -- cgit v1.2.3