عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 03-05-2011, 10:18 PM

looly77 looly77 غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Mar 2011
التخصص: cs
نوع الدراسة: إنتظام
المستوى: الرابع
الجنس: أنثى
المشاركات: 9
Skaau.com (10) طلبتكم لاتردوني سوال جافا عجزت فيه تكفون فزعتكم


تكفون ساعدوني ياااهل الخبره
______________________________
Write a java application to manage Clinic Appointments. Each Clinic Appointments item is a String.
Use vector to hold the items, Test your work with a main program that does the following:
1. Create an empty vector. Print it.
2. Append the items, "9 AM: Ahmad Ali", "10 AM: Mohamed Hamzah", "1 PM: Abdullah Ahmad" , "2 PM: Sara Mahmood" and "4 PM: Hamsah Saleh" to the list. Print it.
3. Remove the last element from the vector. Print it.
4. Append the item, "5 PM: Ali Fahad" to the vector. Print it.
5. Write a loop that searches for the item, "10 AM: Mohamed Hamzah " and replace it with "10: AM Sukar Khaled" Print the vector.
6. Write a loop that searches for the item, "2 PM: Sara Mahmood " and then remove it from the vector. Print the vector.
رد مع اقتباس