تجمع شيتات واسئلة oop
812 subscribers
345 photos
12 videos
166 files
37 links
شوفو التثبيتات واتركو لنا دعوة جزاكم الله خيرا. 🤍
Download Telegram
access modifier method located in interface class....( public )

مش. private package
access modifier (visibility modifiers)

availability modifiers specifies how data fields and methods in class can be accessed from outside the class
access modifier is the most resticitive access level
Anonymous Quiz
32%
public
47%
private
8%
protected
13%
package private
the protected access modifier can be applied to class and interface method
Anonymous Quiz
36%
64%
set&&get

called avcesor methods
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.
the scope of local varibles is referred to ad local scope
non access modifier

1.static
2 .final
3.abstract
4.synchronized and volatile modifiers
وال interface مش non access modifier
الdefult access modifier للinterface

ال(methods.....(public
ال attributes.....(public static final)
ال class......( package private)


متقدرش ادير protected او private يطلع ايرور
الاصدار التاسع. يمكن تنفيد الدوال داخل الmethods باستخدام keywords defult او private
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