You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Abdelilah Khossan 78e9c1846c
CON-1881-Review-java-piscine-subjects-Fix-grammar-and-semantic-issues (#2102)
1 year ago
..
README.md CON-1881-Review-java-piscine-subjects-Fix-grammar-and-semantic-issues (#2102) 1 year ago

README.md

AdventureInterface

Instructions

We will now use a new principle : interfaces.

Let's create an interface Tank in a file Tank.java. It has one method : getShield that returns an integer.

Create another interface Healer in a file Healer.java. It has two methods :

  • heal which takes a Character as parameter and returns nothing.
  • getHealCapacity which returns an integer.

Notions

Interface