design a program in Java to display the following information on the output screen
name
class
roll no
subject
school
Answers
Answered by
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
Answered by
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