ch
Feedback
تجمع شيتات واسئلة oop

تجمع شيتات واسئلة oop

前往频道在 Telegram
438
订阅者
-224 小时
-27 天
-1330 天
帖子存档
كمل المنهج

بعدها الinterface وpolymorphism

نلتقى غدا في inheriance وabstract وconstractor inheriance

المتغيرات ال final اللي مش عاطيها قيمه في ال attributes تسمى blank final variable or uninitilized final variable يعني اتحددلها قيمتها باستخدام الconstractor او static block

الconstractor. متجش معاها final او static

ملخص final variable زي الجافا متقدرش اتغير المتغيرات اتعينها مرة وحدة بس final method متخلش اي كلاس يدير override final class متخلش اي class يورث منا بس هوا يقدر يقعد وارث من حد عادي ابن يعني

final keywords
+1
final keywords

ال static block تنفذ اول ما يصير رن ال block تنفذ اول ما ادير اوبجكت

constants in a class are shared by all object of the class... thus constants should be declared
Anonymous voting

الرن ايرور كمبايلر لانها مش static
الرن ايرور كمبايلر لانها مش static

the static method cannot use non static data member or call static methods directly
Anonymous voting

this and super can be used in static context
Anonymous voting

static methods are found in the inreger and math class example: sin cos max....

هذي advantage مش هدفها الاساسي

advantage of static valribles. if makes your program memory efficient
Anonymous voting

the static keywords belongs to the class than instance of the class
Anonymous voting

can use keywords static
Anonymous voting

الاصدار التاسع. يمكن تنفيد الدوال داخل الmethods باستخدام keywords defult او private
الاصدار التاسع. يمكن تنفيد الدوال داخل الmethods باستخدام keywords defult او private

الdefult access modifier للinterface ال(methods.....(public ال attributes.....(public static final) ال class......( package private)

وال interface مش non access modifier