2 Topics

Member Avatar for
Member Avatar for mags11

Hi all. I have a program that uses a class called PersonalInformationClass. The assignment says: Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and mutator methods. Demonstrate the class by writing a program that creates three instances of it. One …

Member Avatar for David W
0
15K
Member Avatar for corvenzo

Hi, I'm a pretty new Java student and I was just confused on a few basic concepts. What exactly is the difference between public and private classes and in which case would you use each one? also, what is a constructor, mutator, or accessor? Thank you.

Member Avatar for ash.28.88
0
375

The End.