class Dolgozo { public String name; public Dolgozo() { String name = "untitled"; this.name = name; } } class Program02 { public static void main(String[] args) { Dolgozo joska = new Dolgozo(); System.out.println(joska.name); } }