Skip to content

Instantly share code, notes, and snippets.

package tank;
public class Tanki {
public static void main(String [] args){
Tank tank= new Tank("red",4,50);
printTankInfo(tank);
}
public static class Tank{
String color;