classloader dalam metode statis
class MyClass {
public static void startMusic() {
URL songPath = MyClass.class.getResource("background.midi");
}
}
Agreeable Addax
class MyClass {
public static void startMusic() {
URL songPath = MyClass.class.getResource("background.midi");
}
}