//fisierul Masina.java
public class Masina {
protected String nume = "Masina Tipul 1";
public void start() {
System.out.println("Masina porneste.");
}
public void stop() {
System.out.println("Masina se opreste.");
}
public void stergeParbrizul() {
}
public void arataInfo() {
}
}
public class Masina {
protected String nume = "Masina Tipul 1";
public void start() {
System.out.println("Masina porneste.");
}
public void stop() {
System.out.println("Masina se opreste.");
}
public void stergeParbrizul() {
}
public void arataInfo() {
}
}
//fisierul Vehicul.java
public class Vehicul extends Masina {
@Override
public void start() {
System.out.println("Masina porneste");
}
public void stergeParbrizul() {
System.out.println("Sterge parbrizului");
}
public void aratanfo() {
System.out.println("Masina nume: " + nume);
}
}
//fisierul App.java
public class App {
public static void main(String[] args) {
Masina masi1 = new Masina();
masi1.start();
masi1.stop();
masi1.start();
masi1.stergeParbrizul();
masi1.arataInfo();
masi1.stop();
}
}
Output is:
Masina porneste.
Masina se opreste.
Masina porneste.
Masina se opreste.
best online pharmacies in mexico: п»їbest mexican online pharmacies – mexican rx online
rx pharmacy no prescription: online pharmacy discount code – cheapest pharmacy to fill prescriptions with insurance
pharmacies in mexico that ship to usa: mexico drug stores pharmacies – best online pharmacies in mexico
Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol
https://pharmnoprescription.icu/# no prescription pharmacy
Чтобы начать, вам нужно ak dere apk скачать на ваш смартфон.
https://pharmindia.online/# Online medicine home delivery
https://pharmcanada.shop/# canadian pharmacy ed medications
pharmacy coupons pharm world canadian prescription pharmacy
Your post is a ray of light in the darkness. Thank you for brightening my day in a unique way. Keep shining! ☀️
I was recommended this website by my cousin I am not sure whether this post is written by him as nobody else know such detailed about my difficulty You are wonderful Thanks
online drugstore no prescription how to buy prescriptions from canada safely canada mail order prescriptions
buy prescription drugs from india: top 10 pharmacies in india – buy prescription drugs from india
reputable indian online pharmacy online shopping pharmacy india Online medicine home delivery
Вы можете akdere stawka apk загрузить с нашего сайта, чтобы всегда иметь доступ к вашему аккаунту.
legal online pharmacy coupon code: no prescription needed canadian pharmacy – legit non prescription pharmacies
I admire your dedication to sharing your knowledge with others.
Your writing has a way of bringing people together.
canadian mail order pharmacy: canadian pharmacy online – canadian medications
mexican border pharmacies shipping to usa: medication from mexico pharmacy – mexican online pharmacies prescription drugs