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

لدي اسئلة عن Exception handling

مغلق
بدأه alr7al في 14 يوليو 2003 · 5 رد · 855 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

1.

برنامج بسيط يتضمن throw

2. list the advantages of exception handling over conventional means of error processing

اتمنى ان احصل على الاجابة لهذا السؤال بالانجليزي

3. provide reasons why exceptions should not be used as an alternative from of program control

اتمنى ان تكون الاجابة ايضا بالانجليزي

مع السلامة

#2

:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(

#3

:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(

#4

:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(

#5
اقتباس
كاتب الرسالة الأصلية : alr7al

:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(

lah lah wa tiz3al akhi, what I can say about the 1st question

:

Advatages:

it more clear to understand and realize what the coder is doing*

the system will destroy all the variables that have been created in the try block when error occurs

it is more clear to see the programm flow and hence to improve the code later or when correction is neccessary later, it will simplify the work

#6

salam 3alekom

i hope that people don't ask to solve their homework

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

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