Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

public interface IStudentData { 
    public List getStudentList();

public class StudentService implements IStudentData {
       private List studentList;

       public String getTop() {
            // Factory returns MathClassScorer
            IScore scorer = ClassScorerFactory.get();
            return scorer.topscorer(someOtherData, this);

       public getStudentList() {
          // do something and return studentList;
          return studentList;


// IScore contains topscorer method
public class MathClassScorer implements IScore {

     public String topscorer(Map someOtherData, IStudentData data) {
         List studentList = data.getStudentList();
         //do something before and after
         return SOMETHING_AFTER