تجمع شيتات واسئلة oop
813 subscribers
345 photos
12 videos
166 files
37 links
شوفو التثبيتات واتركو لنا دعوة جزاكم الله خيرا. 🤍
Download Telegram
can use keywords static
Anonymous Quiz
55%
class
45%
nested class
the static keywords belongs to the class than instance of the class
Anonymous Quiz
71%
29%
advantage of static valribles.
if makes your program memory efficient
Anonymous Quiz
81%
19%
2
static methods are found in the inreger and math class

example: sin cos max....
this and super can be used in static context
Anonymous Quiz
20%
80%
the static method cannot use non static data member or call static methods directly
Anonymous Quiz
59%
41%
الرن ايرور كمبايلر لانها مش static
1
constants in a class are shared by all object of the class... thus constants should be declared
Anonymous Quiz
50%
static
13%
final
37%
final static
ال static block تنفذ اول ما يصير رن
ال block تنفذ اول ما ادير اوبجكت
ملخص

final variable
زي الجافا متقدرش اتغير المتغيرات اتعينها مرة وحدة بس

final method
متخلش اي كلاس يدير override

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

يعني اتحددلها قيمتها باستخدام الconstractor او static block
نلتقى غدا في inheriance وabstract وconstractor inheriance
2
بعدها الinterface وpolymorphism
1
كمل المنهج
1
الconstractor وclass وinterface بلاحرف الكابتل

الmethods package variable بلاحرف السمول


مديرش ايرور لو كتبت بجوك بس في شيت مكتوبة هكي الافضلية هكي
3👍1
Forwarded from لَيطمِئن قــلَبّــكَ (𝑀𝒶𝓌𝒶𝒹𝒶 𝒜𝓁𝒶𝓂𝒶𝓇𝓎)
﴿ إِنَّ اللَّهَ وَمَلَائِكَتَهُ يُصَلُّونَ عَلَى النَّبِيِّ ۚ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا ﴾