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

[مخالف - عنوان غير مناسب :]ممكن احد يشرحلي هذا الكود

مغلق
بدأه ahaaat في 12 أبريل 2009 · 1 رد · 478 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

سلام عليكم

شباب انا قررت تدخا عالم الجافا

نزلت كتاب اسمه How to program sixth edition

By H. M. Deitel

الكتاب بالانكليزي انا عندي شوية لغة

المهم في حاجة مافهمته

هذاالكود ممكن احد يشرحها لي

public class GradeBook

{

private String courseName;

public GradeBook( String name )

{

courseName = name;

}

public void setCourseName( String name )

{

courseName = name;

}

public String getCourseName()

{

return courseName;

}

public void displayMessage()

{

System.out.printf( "Welcome to the grade book for\n%s!\n",

getCourseName() );

}

}

وهذ الكلام بالانكليزي

ياليت احد يشرحه لي

Let's begin with a simple analogy to help you understand classes and their contents. Suppose you want to drive a car and make it go faster by pressing down on its accelerator pedal. What must happen before you can do this? Well, before you can drive a car, someone has to design the car. A car typically begins as engineering drawings, similar to the blueprints used to design a house. These engineering drawings include the design for an accelerator pedal to make the car go faster. The pedal "hides" the complex mechanisms that actually make the car go faster, just as the brake pedal "hides" the mechanisms that slow the car and the steering wheel "hides" the mechanisms that turn the car. This enables people with little or no knowledge of how engines work to drive a car easily.

تم تعديل هذه المشاركة بواسطة ahaaat في 12 أبريل 2009 في 00:52

#2

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات. فقرة اختيار عنوان مناسب لمحتوى الموضوع.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

حزمة المحرك الإصدارة 0.8

أي أحد يجد أني ظلمته فليراسلني

وبإذن الله لو كان له حق سيأخذه

728x90.png

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

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

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…