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