0

I have a java file with multiple classes like below .

public class ABC {


    public static void main(String[] args){}
}

class A{}

class B{}

class C{}

And I have 50 + classes like these . Is there a way to create a separate file for each of these classes in netbeans.

1 Answer 1

1

I'm not too sure if there is a quick way of doing it as I haven't used netbeans in a long time but you can right-click on your package and create a new class for each internal class you have.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.