@koustuvsinha/

ThriftyLightcoralAustraliancurlew

Java

No description

fork
loading
Files
  • Main.java

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.575314870392122","path":"Main.java","file":{"path":"Main.java","content":{"asEncoding":{"base64":"Y2xhc3MgVmVoaWNsZSB7CglwdWJsaWMgdm9pZCBzdGFydCgpIHsKCSAgU3lzdGVtLm91dC5wcmludGxuKCJWZWhpY2xlIHN0YXJ0IGNvZGUiKTsKCX0KfQoKY2xhc3MgQ2FyIGV4dGVuZHMgVmVoaWNsZSB7CglwdWJsaWMgdm9pZCBydW4oKSB7CgkgIHN1cGVyLnN0YXJ0KCk7CiAgfQp9CgpjbGFzcyBNYWluIHsKICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICBDYXIgY2FyID0gbmV3IENhcigpOwoJY2FyLnN0YXJ0KCk7IC8vICJWZWhpY2xlIHN0YXJ0IGNvZGUiCiAgfQp9"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Vehicle {
	public void start() {
	  System.out.println("Vehicle start code");
	}
}

class Car extends Vehicle {
	public void run() {
	  super.start();
  }
}

class Main {
  public static void main(String[] args) {
    Car car = new Car();
	car.start(); // "Vehicle start code"
  }
}