Write a Java program to Print your
name, class, section, age and phone number
by using appropriate data types.
Answers
Answered by
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
Accountancy,
6 months ago
Biology,
6 months ago
Math,
1 year ago
Math,
1 year ago
History,
1 year ago