/* * 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); } }