mangopearapples 16 Posting Whiz in Training

Did you not realize this is wrong? Or did you just copy and paste the code =.=

int timeLeft = 180;
Timer countdown = new Timer(1000,new ActionListener(){
timeLeft--;
if(timeLeft <= 0){
// countdown finished
}else{
// Guess
}
});
mangopearapples 16 Posting Whiz in Training
//first java file
public class Dummy1{}

//2nd java file
public class Dummy2{}

//3rd
public class Dummy3{}

//MAIN CLASS
public class Main{
    public static void main(String[] args){
        Dummy1 dum1 = new Dummy1();
        Dummy2 dum2 = new Dummy2();
        Dummy3 dum3 = new Dummy3();
        
        String dum1Name = dum1.getClass().getName();
        String dum2Name = dum2.getClass().getName();
        String dum3Name = dum3.getClass().getName();

        System.out.println("This belongs to "+dum1Name);
        System.out.println("This belongs to "+dum2Name);
        System.out.println("This belongs to "+dum3Name);
        
    }
}

Is this maybe what you're looking for?