تجمع شيتات واسئلة oop
نظري اسئلة امتحانات
حسيت في حاجات مش شورنا صح؟
Forwarded from S.O.P("قناة مناهج كلية تقنية المعلومات");
في interface، لما بنعرفوا متغير، ضروري نعطوه قيمة و إلا حيعتبر compile time error، و السبب علشان أنه static.
❤2
Forwarded from S.O.P("قناة مناهج كلية تقنية المعلومات");
Composition is a feature of java, not a design technique but we can achieve it using Java code.
Anonymous Quiz
49%
True
51%
False
👍1
Forwarded from S.O.P("قناة مناهج كلية تقنية المعلومات");
The HAS-A relationship is based on ......., rather than ........ .
Anonymous Quiz
24%
Inheritance,usage.
53%
Usage, inheritance.
23%
None of the above
If a class is designed to be extended, it is better to provide a ....... constructor to avoid programming errors
Anonymous Quiz
60%
No-args
27%
Default
13%
Parameterized
Forwarded from S.O.P("قناة مناهج كلية تقنية المعلومات");
The relationship between the class and its superclass is known as the....
Anonymous Quiz
21%
AOK
21%
KOA
57%
AKO
Forwarded from S.O.P("قناة مناهج كلية تقنية المعلومات");
Encapsulation provides re-usability of code and can be used to add additional features to an exciting class, without modifying it.
Anonymous Quiz
41%
True
59%
False
Forwarded from S.O.P("قناة مناهج كلية تقنية المعلومات");
A final variable that has no value is called a blank final variable or initialized final variable.
Anonymous Quiz
65%
True
35%
False
....... is a process where you show relevant data and hide unnecessary details of an object from the user
Anonymous Quiz
44%
interface
48%
abstraction
8%
inheriance
it is used to achieve abstraction and mulilevel inheritance in java
Anonymous Quiz
74%
interface
7%
abstract
7%
None of the above
11%
All answers are correct
the methods declared in interface class are by
Anonymous Quiz
16%
defult interface
84%
defult abstract
ملاحظة الشيت مكتوب ان الinterface مستحيل بكون لها تنفيذ في كلاس بس في اصدارات 8.9.
قعدت تنفذ جوا عادي. بواسطة 3طرق
1. private methods
2. keyword defult
2. static methods
قعدت تنفذ جوا عادي. بواسطة 3طرق
1. private methods
2. keyword defult
2. static methods
❤3