Computer Science, asked by shauryapratap74, 1 year ago

Write a Java program to Print your
name, class, section, age and phone number
by using appropriate data types.

Answers

Answered by kingcobra1
1

Answer:

public class datatype

{

public static void main(string name;int class;char section;int age;double phno)

{

System.out.println(class);

System.out.println(name);

System.out.println(section);

System.out.println(age);

System.out.println(phno);

}

}

Explanation:

if you cannot understand then,comment back to me

Similar questions