Can a class have a list of its own objects?

Absolutely . (And the same is true for a List<Account> , or just a single Account field etc.)

Sizin İçin Seçtik  Can you make a list of objects in Java?

Leave a Reply

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