CSC113_Tutorial2 - Section addStudent(Student:stu:void searchStudent(stuid:id:Boolean serachStudent(String name int displayAllStudents Void

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
King Saud University College of Computer and Information Systems, Department of Computer Science CSC 113: Java Programming-II, Spring2011, February 21, 2011 Tutorial #2 : Array of Objects Student - StudentId : int - StudentName : String - StudentAge : int + Student() + Student(stuId:int, stuName:String, age:int) + getter / setter() + displayInfo() Section - ClassId : String - ArrayStu : Student
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: + Section() + addStudent(Student:stu):void + searchStudent(stuid:id):Boolean + serachStudent(String name): int + displayAllStudents(): Void Question: Write in Java the classes student and Section AddStudent(student:stu): It will add the student details using the Array object SearchStudent(stuid:id): It will search for the detail of the student using the ID. ....
View Full Document

This note was uploaded on 08/18/2011 for the course COMPUTER S CSC 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.

Ask a homework question - tutors are online