write a Java Program to assign your name roll number class and section school name is in different variables and display them in different lines with appropriate labels​

Answers 1

Answer:

public class MyProfile

{

   public static void main(String args[]) {

       System.out.println("Name: Sneha Nayak");

       System.out.println("Class: 8C");

       System.out.println("Roll No: 24");

       System.out.println("Marks: 87");

       System.out.println("Age: 15");

   }

}

Explanation:

If you know the answer add it here!

Can't find the answer?

Log in with Google

or

Forgot your password?

I don't have an account, and I want to Register

Choose a language and a region
How much to ban the user?
1 hour 1 day 100 years