@koustuvsinha/

InsubstantialDiligentTench

Java

No description

fork
loading
Files
  • Main.java

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.9292403291711211","path":"Main.java","file":{"path":"Main.java","content":{"asEncoding":{"base64":"Y2xhc3MgVmVoaWNsZSB7CglwdWJsaWMgdm9pZCBzdGFydCgpIHsKCSAgU3lzdGVtLm91dC5wcmludGxuKCJWZWhpY2xlIHN0YXJ0IGNvZGUiKTsKCX0KfQoKY2xhc3MgQ2FyIGV4dGVuZHMgVmVoaWNsZSB7CglwdWJsaWMgdm9pZCBzdGFydCgpIHsKCSAgU3lzdGVtLm91dC5wcmludGxuKCJDYXIgc3RhcnQgY29kZSIpOwogIH0KfQoKY2xhc3MgTWFpbiB7CiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgQ2FyIGNhciA9IG5ldyBDYXIoKTsKCWNhci5zdGFydCgpOyAvLyAiQ2FyIHN0YXJ0IGNvZGUiCiAgfQp9"},"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 start() {
	  System.out.println("Car start code");
  }
}

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