Computer Science, asked by extramarks6667, 1 year ago

design a program in Java to display the following information on the output screen
name
class
roll no
subject
school ​

Answers

Answered by anushkasoni04
84

public class abc

{

public static void main (String args[ ] )

{

System.out.println(" Name ");

System.out.println(" Class");

System.out.println(" Roll no. ");

System.out.println(" Subject ");

System.out.println(" School");

}

}

I have just printed the things you

required . I have not entered any name or the required things so just change according to your details in " "

Hope it helps..


extramarks6667: can you answer one more question which i will post plzz
anushkasoni04: yeah sure ,which one?
extramarks6667: the 4 questions
Answered by subhampanigrahi975
30

Answer:public class abc

{

public static void main (String args[ ] )

{

System.out.println(" Name ");

System.out.println(" Class");

System.out.println(" Roll no. ");

System.out.println(" Subject ");

System.out.println(" School");

}

}

Similar questions