mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-02 06:30:15 +02:00
Create potato.java
This commit is contained in:
22
src/potato.java
Normal file
22
src/potato.java
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
public class Potato
|
||||||
|
{
|
||||||
|
|
||||||
|
public static void Main(String[] args}
|
||||||
|
{
|
||||||
|
Potato potato = new Potato();
|
||||||
|
potato.prepare();
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean prepare(Object bob)
|
||||||
|
{
|
||||||
|
Potato bob = bob;
|
||||||
|
bob.addSourCream();
|
||||||
|
bob.addChives();
|
||||||
|
bob.addButter();
|
||||||
|
|
||||||
|
if(bob.isDelicous())
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user