Computer Science, asked by Abhinav0181, 11 months ago

if in any program we take name as string what must be its input line

public void input()throws IOException
{
system........
name=?​

Answers

Answered by nivedhithasenthil
1

Answer:

{

string name ;

DataInputStream n=new DataInputStream(System.in);

System.out.println("Enter the name :");

name= n.readLine( );

}

Explanation:

Answered by Anonymous
1

hope it helps!!

#sumedhian ❤❤

Attachments:
Similar questions