class School
{
public static void main(String[] args)
{
//Object Creation
School teacher = new School();
teacher.teach();
teacher.training(); //Method Calling Statement
teacher.tour(50);
}
public void teach()
{//Method Body / Definition
System.out.println("Teaching");
}
public void training()
{
System.out.println("Training Athletes");
}
public void tour(int no1)
{
System.out.println(no1);
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)