Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8cc59be

Browse files
Challenge 45.
valid identifier
1 parent 30c8305 commit 8cc59be

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

‎pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@
2020
</plugins>
2121
</build>
2222

23-
2423
</project>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package challenge41_50;
2+
3+
/**
4+
* valid identifier can begin by underscore, $.
5+
* String, Double are valid variable identifier;
6+
*/
7+
public class Challenge_45 {
8+
native void execute();
9+
public static void main( String[] args ) {
10+
double _78934 = 1.d;
11+
float 78934ドル = 1.0f;
12+
String String = "Game of Thrones";
13+
Double Double = 9.d;
14+
Float Float = 9.f;
15+
16+
double doubleX = 9.f;
17+
char _98 = 2;
18+
for (;; System.out.println("James")) {
19+
System.out.println("Tyron");
20+
}
21+
}
22+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /