public Paper[] getPaperDetails(Paper p) { PaperDAL pq = new PaperDAL(); int a = pq.getRowCountForExam(p); Paper[] g = new Paper[a]; g = pq.getPaperDetails(p); return g; }
public int getTotalQuestions(Paper pq) { PaperDAL ed = new PaperDAL(); int count = ed.getTotalQuestions(pq); return count; }