You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
620 B
25 lines
620 B
/* |
|
* To change this license header, choose License Headers in Project Properties. |
|
* To change this template file, choose Tools | Templates |
|
* and open the template in the editor. |
|
*/ |
|
|
|
package lang; |
|
|
|
/** |
|
* |
|
* @author (C)Y.D.Zakovryashin, 14.11.2022 |
|
*/ |
|
public class DemoInteger { |
|
public static void main(String[] args) { |
|
Integer i = new Integer ("1234"); |
|
Integer j = Integer.valueOf("12345", 7); |
|
Integer k = ++i; |
|
i = ++i; |
|
String s = "asdf"; |
|
s += "gth"; |
|
String t = new String (s); |
|
System.out.println("s: " + s); |
|
System.out.println(k); |
|
} |
|
}
|
|
|