write a java statement to define an object 'school' of scanner class
Answers
Answered by
0
import java.util.Scanner;
class School
{
void display()
{
Scanner sc = new Scanner(System.in);
System.out.println("school");
}
}
Hope it helps...
Similar questions
Social Sciences,
6 months ago
English,
6 months ago
History,
1 year ago
Biology,
1 year ago
History,
1 year ago