public class Demo { public static void main(String[] args) { NewClass b = new NewClass(10); b.print(); } }