klasser i java code example Example 1: java klasse MyClass luggasDerCoole = new MyClass(); Example 2: java klasse public class Klasse() { }