not executing
import java.util.*; class Student { int sno; String sname; int m; int p; int c; } void input() { Scanner s=new Scanner(System.in); System.out.print("Enter the student number:"); sno=s.nextInt(); System.out.print("Enter the student name:"); sname=s.nextLine(); System.out.print("Enter maths marks:"); m=s.nextInt(); System.out.print("Enter physics marks:"); p=s.nextInt(); System.out.print("Enter chemistry marks:"); c=s.nextInt(); } void output() { System.out.println("Student no ::"+sno); System.out.println("Student name ::"+sname); System.out.println("Stuent maths marks ::"+m); System.out.println("Student physics marks ::"+p); System.out.println("Student chemistry marks ::"+c); } class Test1 { public static void main(String[] args) { Student s1=new Student(); s1.input(); s1.output(); } }