Can you access a class from another class?

To access the members of a class from other class. … Create an object of that class . Using this object access, the members of that class.

Sizin İçin Seçtik  What is class and method in Java?

Leave a Reply

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