Write a Java program to print your Name,Class,Roll_No,Marks and Age. Name this file, 'My profile'.
Answers
Answered by
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
Hindi,
5 months ago
Computer Science,
5 months ago
Science,
9 months ago
English,
9 months ago
French,
1 year ago