تجمع شيتات واسئلة oop
812 subscribers
345 photos
12 videos
166 files
37 links
شوفو التثبيتات واتركو لنا دعوة جزاكم الله خيرا. 🤍
Download Telegram
انواع الabstract
تتبع ساريا
1
Encapsulation is also known as Data abstraction
Anonymous Quiz
68%
True
32%
False
في interface، لما بنعرفوا متغير، ضروري نعطوه قيمة و إلا حيعتبر compile time error، و السبب علشان أنه static.
2
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
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
The relationship between the class and its superclass is known as the....
Anonymous Quiz
21%
AOK
21%
KOA
57%
AKO
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
A final variable that has no value is called a blank final variable or initialized final variable.
Anonymous Quiz
65%
True
35%
False
نبدو في interface
an interface is used for all abstraction
Anonymous Poll
41%
77%
....... 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
interface is class
Anonymous Quiz
22%
78%
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
ال interface تحقق ال multiple.

بس الinheriance و abstract لا
interface&&interface

علاقة وراثة

interface&&regular class
علاقة implementation
5