We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce03ee9 commit c290243Copy full SHA for c290243
1 file changed
ch02/Variables.java
@@ -1,10 +1,12 @@
1
/**
2
* Examples from Chapter 2.
3
*/
4
-public class Variables {
5
-
6
- public static void main(String[] args) {
+public class Variables
+{
7
+ public static void main(String[] args)
8
+ {
9
+//Christy
10
String message;
11
int x;
12
@@ -59,7 +61,7 @@ public static void main(String[] args) {
59
61
60
62
System.out.println(0.1 * 10);
63
System.out.println(0.1 + 0.1 + 0.1 + 0.1 + 0.1
- + 0.1 + 0.1 + 0.1 + 0.1 + 0.1);
64
+ + 0.1 + 0.1 + 0.1 + 0.1 + 0.1);
65
66
double balance = 123.45; // potential rounding error
67
int balance2 = 12345; // total number of cents
0 commit comments