الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

ارجو المساعده

مغلق
بدأه al3inawi في 8 أبريل 2006 · 1 رد · 410 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Write a client program (in a separate file) that have

· A static data member to keep the number of student instances.

· An array of instance from "CStudent" class

· Functions to do the following operations

i) Menu to allow the user to select his option.

ii) A Function to create a new student (filling his data on the array).

iii) Function to set and get the value of a static data member.

iv) A Function to print the number of created students.

v) A Function to sort them in an ascending order according to name field (optional if the lab instructors wish).

(*) Rewrite the person class and use composition concept to separate the birthday and name data members in separate classes.

Q2: What Is the Different between PROTECTED and PRIVATE data member ?

Q3: What is the different between overloading function and overriding function?

Optional

Q4: Can you declare an instance from "CPerson" class and use it to initialize one of the students object? Why (not).

أرجو المساعده ......................وجزاكم الله خيرا

#2

يا باشمهندس لو قراءت عن قواعد المشاركات ف المنتدى ستجد أن المنتدى ليس لحل الواجبات

حاااااول تفكر وتجتهد وتضع محاولاتك وإذا وجد شيى صعب أو فى خطأ ستجدنا بأذن الله معاك :)

Muhammad Allam

Computer Science

@Resource(MappedURL="My Blog" )

هذا الموضوع مغلق.

مواضيع مشابهة