1.

Write a program to print your name ID and class by creating an object.​

Answer»

Answer:

class first

{

PUBLIC STATIC void MAIN(STRING args)

{

INT a;

Scanner sc=new Scanner(System.in);

a=sc.nextInt();

System.out.println("enter the name id");

}

}



Discussion

No Comment Found