about summary refs log tree commit diff
path: root/usth/ICT2.2/labwork/3/Java/CowTest.java
blob: 1a13f673aa88a2423bde8e3d600363388dc4cc80 (plain) (blame)
1
2
3
4
5
6
7
8
9
class CowTest   // there's no reason to import a test what-so-ever
{
  public static void main(String... args)
  {
    Cow cow = new Cow("foo", "bar", 7);
    cow.setAge(-4);
    cow.moo();
  }
}