Professional Documents
Culture Documents
• Create all your java files in package “com” within src folder of eclipse project. Make
sure that exact class outline is followed
• After completion of your work, zip your final project folder along with the scripts and
upload the zipped project in iON. PLEASE NOTE you will be able to upload only ONCE
in iON. Hence upload your final project. The project folder will be available in your
workspace folder
• It is mandatory to upload eclipse project and not only java files for your code to be
assessed.
• Make sure that there is no compilation error in your code before submission. Even if
there is minor error, entire solution could be rejected.
• Save the create and insert scripts and upload with the zip file.
User input is not required in any of the method described. Prefer to have
hard coded values for method call.
Problem statement:
gender vachar2(10)
Class outline for Student class is as follows :
1,Alexander,Class 1,Male
2,Smith,Class 1, Male
3 ,Pita, Class 2,Female
Marks Table :
10,300,1
20,450,2
30,200,3
Create a class StudentDAO with the below methods. Use only Prepared Statement
1) addStudent() : This method should take a student object and add to the table
and return the number of records inserted due to that query execution.
5) getStudentsWithName() Find out countries whose Names have the letter 'e' in it
.Return arraylist of student names