Computer Science, asked by shatakshichauhan26, 9 months ago

Write a Java program to print your Name,Class,Roll_No,Marks and Age. Name this file, 'My profile'. ​

Answers

Answered by keerthanakreddy
13

Answer:

import java.util.*;

class My profile

{

void main ()

{

System. out.println ("name:"+keerthana);

System.out.println("class:"+9);

System.out.println("Roll no:"+903);

System.out.println("Marks:"+800);

System.out.println("age:"+15);

}

}

Similar questions