Snippets

Ettar Java - Klassenbeispiel

Created by Ettar
public class TestObject {

    public TestObject(){

    }

    public void testmethode(){
        System.out.println("Test");
    }
}

1
2
3
4
5
6
7
public class mainClass {
    public static void main(String[] ARGS){
        TestObject to = new TestObject();
        to.testmethode();
    }
}

Comments (0)