Fix: 1
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
Gitea Actions Demo / GoBuild (push) Failing after 6s

This commit is contained in:
2024-09-09 17:48:00 -04:00
parent 4bd6ba084c
commit e0f40ab872
50 changed files with 724 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package PrepSession;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
+5
View File
@@ -0,0 +1,5 @@
package PrepSession;
public interface Attack {
void Attacking();
}
+14
View File
@@ -0,0 +1,14 @@
package PrepSession;
public abstract class Breed {
public abstract void Breeding();
int lifeNum = 1;
String enviroment = "home";
public void Mating() {
System.out.println("Male and Female has to mate");
}
}
+18
View File
@@ -0,0 +1,18 @@
package PrepSession;
public class Eagle extends Breed implements Attack{
public static void main(String[] args) {
Eagle eagle = new Eagle();
System.out.println(eagle.lifeNum);
}
@Override
public void Attacking() {
System.out.println("The Eagle is going crazy and I can't fucking find his prey.");
}
@Override
public void Breeding() {
System.out.println("Breeding through laying eggs... Oviparous");
}
}
+22
View File
@@ -0,0 +1,22 @@
package PrepSession;
public class Fish extends Breed implements Hide, Attack{
public static void main(String[] args) {
}
@Override
public void Hiding() {
System.out.println("The fish is going deeper to hide from the Eagle");
}
@Override
public void Attacking() {
System.out.println("The fish attacked a smaller fish");
}
@Override
public void Breeding() {
System.out.println("Breeding through laying eggs... Oviparous");
}
}
+5
View File
@@ -0,0 +1,5 @@
package PrepSession;
public interface Hide {
void Hiding();
}
+23
View File
@@ -0,0 +1,23 @@
package PrepSession;
public class MainClass {
public static void main(String[] args) {
Fish fish = new Fish();
fish.Hiding();
fish.Attacking();
fish.Breeding();
System.out.println("");
Rabbit rabbit = new Rabbit();
rabbit.Hiding();
rabbit.Mating();
rabbit.Breeding();
System.out.println("");
Eagle hawk = new Eagle();
hawk.Attacking();
hawk.Mating();
hawk.Breeding();
}
}
+17
View File
@@ -0,0 +1,17 @@
package PrepSession;
public class Rabbit extends Breed implements Hide{
public static void main(String[] args) {
}
@Override
public void Hiding() {
System.out.println("The Rabbit is running like crazy to hide.");
}
@Override
public void Breeding() {
System.out.println("Breeding by having small baby rabbits... Mammals");
}
}