質問編集履歴
1
ソースコードを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,9 +22,27 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
```
|
25
|
+
```java
|
26
26
|
|
27
|
+
public class Sorse {
|
28
|
+
|
29
|
+
public static void main(String[]args) {
|
30
|
+
|
31
|
+
String str = new String();
|
32
|
+
|
33
|
+
str = "10";
|
34
|
+
|
27
|
-
|
35
|
+
int sec = 3;
|
36
|
+
|
37
|
+
int i = Integer.parseInt(str,sec);
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
System.out.println(i);
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
}
|
28
46
|
|
29
47
|
```
|
30
48
|
|