What is the advantage of static class in Java?

Benefits of a Static Class A static class can never be instantiated . Static classes can’t directly access non-static members of a class. It can interact with them only through an object reference.

Sizin İçin Seçtik  Which has a higher frequency radio waves or microwaves?

Leave a Reply

Your email address will not be published. Required fields are marked *