package com.di.quiz;
import org.springframework.context.support.GenericXmlApplicationContext;
public class QuizMain {
public static void main(String[] args) {
GenericXmlApplicationContext gxac = new GenericXmlApplicationContext("com/di/quiz/applicationContext.xml");
PointImpl impl = (PointImpl) gxac.getBean("pointimpl");
impl.calcTot();
impl.calcAvg();
impl.showPoint();
gxac.close();
}
}