DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
andon19
//main class
public class Devs {
public static void main (String[]args) {
Tryskel dTryskel=new Tryskel ();
Wyatt dWayatt=new Wyatt():
}
}
//1st class
public class Tryskel {
public boolean L2jdeveloper=true;
public boolean Professional=true;
public boolean Clever=true;
public boolean Kind=true;
public boolean Cool=true;
}
//2nd class
public class Wyatt {
public boolean L2jdeveloper=true;
public boolean Professional=true;
public boolean Creative=true;
public boolean Strict=true;
public boolean Tall=false; //making joke
}
//3rd class
public class Me extends Wyatt {
// SO everything i wrote here and declaration of Wyatt will be applied to me ?
//am i right?
}
2 answers to this question
Recommended Posts