Create sample code.java

System.out.print("Give search term: ");
                String src = reader.nextLine();
                for(Student sr : list){
                    if(sr.getName().contains(src)){
                        System.out.println("result: ");
                        System.out.println(sr);