عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 25-04-2011, 11:37 PM

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

جامعي

 
تاريخ التسجيل: Apr 2011
التخصص: نظم معلومات
نوع الدراسة: إنتظام
المستوى: الرابع
الجنس: أنثى
المشاركات: 2
Skaau.com (10) الي فاهم في لغة الجافا اتمنى يدخل ابي حل هالسؤال ضروري طلبتكم..............


Write a program that prompts the user to input his name and age then shows the save dialog to let the user selects the file where he wants to save his data. Then read back the data saved in the file.

Hints:

#; The variable (name ) is of type String so it does not need any parsing.

#; The variable (age ) is of type int so it needs parsing.

#; The age entered must be not less than 16 and not greater than 60. (Think about the exceptions and no need for programmer-defined exception classes)

#; Use JFileChooser class to let the user select the file where he wants to save his data (of course with the showSaveDialog method)

#; Use PrintWriter and FileReader/BufferReader classes to write the data to the selected file and read them back.

تكفون الي يقدر يحل هالسؤال يساعدني في اقرب وقت
الله يخليكم اخر موعد الاربعاء
ربي بلانا بمدرسه الله لايوريكم مافهمنا معاها حاجه الله يسامحها بس
وقاعدين ندورلنا مدرسات خصوصيات بس ارجوكم في اقرب وقت

رد مع اقتباس