Ask Experts Questions for FREE Help !
Ask
    zahirabs's Avatar
    zahirabs Posts: 0, Reputation: 1
    New Member
     
    #1

    Sep 30, 2003, 07:11 PM
    hiiii plzz solve my this java question...
    Develop a registration system for a university, it should consist of three classes namely Student, Teacher and Course. For our example a Student needs to have roll number, gender and GPA to be eligible for registration, therefore choose appropriate data types for encapsulating these properties in a student object/s, similarly a teacher needs to have name, address, telephone number and degree ( or a list of degrees ) he has received, finally Courses must have a name, a Student ( or a list of students ) who is registered for the course and a teacher assigned to conduct the course. This implies that an object of the course class should be composed of one or more. Student and a teacher, along with any other types of objects or primitives you think appropriate.

    Write a test class to create three different course, each having student and a teacher assign to it. Store all three objects in an array of types courses and pick a reference randomly from it. A call to a method say method printDetails() of the selected course. Reference should print name of the course details of the teacher assign to that course and names and roll number of the students enroll with the course.

    Also there should be same arrangement in the course, class so that the number of course in existence at a given can be know. That is there should be method in the course, class that keeps track of the number of objects created, and return the count as int.

Check out some similar questions!

Solve [(86400*n^2)/2^n]<1 solve n [ 3 Answers ]

Could you Please solve this problem <1 solve n

One more question... plzz help [ 6 Answers ]

A stone is thrown from a bridge with a initial vertical velocity of magnitude 4.0m/s. Determine the stone's velocity after 2.2s if the direction of the initial velocity is a) upward b)down ward Neglect air resistance >? How can I do this question

Plzz help [ 1 Answers ]

... I went to the mall to see what I could do about the blonde in my hair but the women said that is was to late to put red in it so she gav me this dark brown.. so I went home and my mom put it in my hair but for some reason it turned blakk... n I'm very white and I look pale with black hair... I...

Can anyone solve this simple question? [ 3 Answers ]

Can anybody explain how to solve this question? 70% of students answered question A correctly, 55% of students answered question B correctly, 20% of students answered neither question correctly. What is the percentage of students answered both question A and B correctly?


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.