Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,14 @@
interface Example {
String stringA = "rosetta";
String stringB = "code";
private String methodA() {
return stringA + " " + stringB;
}
default int methodB(int value) {
return value + 100;
}
int methodC(int valueA, int valueB);
}

View file

@ -0,0 +1,9 @@
class ExampleImpl implements Example {
public int methodB(int value) {
return value + 200;
}
public int methodC(int valueA, int valueB) {
return valueA + valueB;
}
}

View file

@ -0,0 +1,14 @@
abstract class Example {
String stringA = "rosetta";
String stringB = "code";
private String methodA() {
return stringA + " " + stringB;
}
protected int methodB(int value) {
return value + 100;
}
public abstract int methodC(int valueA, int valueB);
}

View file

@ -0,0 +1,5 @@
class ExampleImpl extends Example {
public int methodC(int valueA, int valueB) {
return valueA + valueB;
}
}