ar
Feedback
قناة منهج كلية تقنية المعلومات |2005|

قناة منهج كلية تقنية المعلومات |2005|

الذهاب إلى القناة على Telegram

رابط قناة المناقشة الخاص بنا، تفضل و اسأل اي سؤال و الكل حيجاوبك و المحترم يحترم. https://t.me/+n9odr2ZtI1Y1OGFk

إظهار المزيد
337
المشتركون
+524 ساعات
+67 أيام
+930 أيام
أرشيف المشاركات
If no visibility modifier is used, then by default the classes,methods, and data fields are accessible by any class in the same package. This is also known as...
Anonymous voting

Constructor can be private provided an object of one class created in another class.
Anonymous voting

Method names begin with a lowercase first letter and subsequent words in the name end with a capital letter.
Anonymous voting

When a method terminates, the values of its local variables will still be available.
Anonymous voting

Each object (instance) of the class has a separate instance of the variable in memory.
Anonymous voting

The new operator is not required to explicitly create the object that is referenced
Anonymous voting

The return type .... indicates that a method will perform a task but will not return.
Anonymous voting

.... and .......are the primary mechanisms for passing information into and out of an object.
Anonymous voting

A primitive data type can be cast to an object that is referenced
Anonymous voting

Method is overriden not the datamembers, so runtime polymorphism can be achieved by data members
Anonymous voting

نسيت نحط int ، الإجابة يعتبر غلط، معليش 👀 لكن المهم فهمتوا قصدي

في interface، لما بنعرفوا متغير، ضروري نعطوه قيمة و إلا حيعتبر compile time error، و السبب علشان أنه static.
في interface، لما بنعرفوا متغير، ضروري نعطوه قيمة و إلا حيعتبر compile time error، و السبب علشان أنه static.

طريقة تعريف المتغير يعتبر صح في الحالات الموجودة في الصورة، سواء كتبت static او final او public أو الكل او البعض ، مش حيعتبر
طريقة تعريف المتغير يعتبر صح في الحالات الموجودة في الصورة، سواء كتبت static او final او public أو الكل او البعض ، مش حيعتبر خطأ و يمشي صح. لأنه الكومبايلر حيشوف و يديره من عنده لو ماحطيتش. و نفس الفكرة عند الدوال. مش ضروري تكتب abstract لأنه الكومبايلر حيديره لك تلقائيا. و هنا نحكي عن interface مش كلاس abstract.

public interface AnInterface{ public static O=10; Public void Oop(); } Will it compile?
Anonymous voting

A regular class can implement an interface
Anonymous voting

Interface can implement another interface
Anonymous voting

Since ..., we can have private methods in an interface.
Anonymous voting

Encapsulation is also known as Data abstraction
Anonymous voting

ركزوا يا طلبة ، اعرفوا أي خيار هي الصح. ثلاثة منهن غلط.