Forwarded from OOP with Zero To Hero
Media is too big
VIEW IN TELEGRAM
Inheritance:what is the output?
شن اصعب حاجه في المنهج؟
Anonymous Poll
12%
inheriance
7%
abstract
17%
interface
64%
كلا ساهل الهم في النظري
java
public class A{
private int x=0;
public A(){ this(x); x++; System.out.print(x);}
public A(int x){ this.x+=x;}
public A(int x,int y){ this.x+=y+x;}
}
public class B extends A{
private int x=17;
public B(){ this(2,2);
System.out.print(x); }
public B(int x,int y){ super(x,y); }
}
public class programs5{
public static void main(){
A obj=new B();
}
}
كم طلع معاكم الرن
❤1
Forwarded from آلَآيــتــيـــوُنــــ💻 (Admin)
Object-Oriented Approach_IT.2022 (1) (1).pdf
3 MB
الجماعة اللي ياخدو من منهج ال oop ال pdf بتاع سارية
راهو في نسخة قديمة(اسمها OOP منهج كامل) ناقصة صفحات عن ال has a ومنعرفش لو في نقص اخرى
ف هدي النسخة الجديدة
راهو في نسخة قديمة(اسمها OOP منهج كامل) ناقصة صفحات عن ال has a ومنعرفش لو في نقص اخرى
ف هدي النسخة الجديدة