I have some code and i need to build and run it . But the name of file where this code is located can be different from classes name. How can i config SUBLIME TEXT to compile and run in this situation.
class A {
}
class B extends A{
}
class C extends B{
public static void main(String ...args){
A a =new A();
}
}