summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2015-10-31 18:23:51 +0800
committerAdam Bard <github@adambard.com>2015-10-31 18:23:51 +0800
commita1b1383f48ea09dfcb2d4060600d966e3e5d042d (patch)
tree74683bfd36e81be87ab0c10ed11a25ba003874c6
parent2202c4c6d68fd01c435a314d08eb0c3776dadf4c (diff)
parent093c3e656242e84682da7910e8d56db62c08ca10 (diff)
Merge pull request #1934 from hopesenddreams/patch-4
Formatted enum comments
-rw-r--r--java.html.markdown10
1 files changed, 6 insertions, 4 deletions
diff --git a/java.html.markdown b/java.html.markdown
index e1efc375..84978ecc 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -706,10 +706,12 @@ public abstract class Mammal()
// Enum Type
//
-// An enum type is a special data type that enables for a variable to be a set of predefined constants. The // variable must be equal to one of the values that have been predefined for it.
-// Because they are constants, the names of an enum type's fields are in uppercase letters.
-// In the Java programming language, you define an enum type by using the enum keyword. For example, you would
-// specify a days-of-the-week enum type as:
+// An enum type is a special data type that enables for a variable to be a set
+// of predefined constants. The variable must be equal to one of the values that
+// have been predefined for it. Because they are constants, the names of an enum
+// type's fields are in uppercase letters. In the Java programming language, you
+// define an enum type by using the enum keyword. For example, you would specify
+// a days-of-the-week enum type as:
public enum Day {
SUNDAY, MONDAY, TUESDAY, WEDNESDAY,