how to call getclass from a static method in java

how to call getclass from a static method in java
class MyClass {
  public static void startPlayer() {
    URL songPath = MyClass.class.getResource("background.mp3");
  }
}
Source‮al.www:‬utturi.com
Created Time:2017-09-03 07:26:15  Author:lautturi