Computer Science, asked by Anonymous, 2 months ago

Write a program to print details about you i.e., your name and age using variables.​

Answers

Answered by Anonymous
1

Explanation:

please mark my ans as brainliest please

Attachments:
Answered by gsudhir4868
3

Answer:

public class First

{

void display ( )

{

String name = "Sarthak" ;

int age = 16 ;

System.out.println ("My name is " + name) ;

System.out.println ("My age is" + age) ;

}

}

Plz Brainlist my Answer..

Similar questions