How can we access some class in another class in Java?

If we want to access a class in another class of different package, then, we use Fully Qualified Name and the syntax is, package_name. classname ; For example, we want to access ArrayList of java.

Sizin İçin Seçtik  Kula minnet eylemek ne demek?

Leave a Reply

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