parameters:
are local varibles which declared in the parameters list of a methods header and which have initial values specified by the arguments in a method call.
are local varibles which declared in the parameters list of a methods header and which have initial values specified by the arguments in a method call.
non access modifier
1.static
2 .final
3.abstract
4.synchronized and volatile modifiers
1.static
2 .final
3.abstract
4.synchronized and volatile modifiers
الdefult access modifier للinterface
ال(methods.....(public
ال attributes.....(public static final)
ال class......( package private)
متقدرش ادير protected او private يطلع ايرور
ال(methods.....(public
ال attributes.....(public static final)
ال class......( package private)
متقدرش ادير protected او private يطلع ايرور
❤2
تجمع شيتات واسئلة oop
advantage of static valribles.
if makes your program memory efficient
if makes your program memory efficient
هذي advantage مش هدفها الاساسي
static methods are found in the inreger and math class
example: sin cos max....
example: sin cos max....
the static method cannot use non static data member or call static methods directly
Anonymous Quiz
59%
✅
41%
❌
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
ملخص
final variable
زي الجافا متقدرش اتغير المتغيرات اتعينها مرة وحدة بس
final method
متخلش اي كلاس يدير override
final class
متخلش اي class يورث منا بس هوا يقدر يقعد وارث من حد عادي ابن يعني
final variable
زي الجافا متقدرش اتغير المتغيرات اتعينها مرة وحدة بس
final method
متخلش اي كلاس يدير override
final class
متخلش اي class يورث منا بس هوا يقدر يقعد وارث من حد عادي ابن يعني
❤5