https://pastebin.com/GWGs0phe

Hi guys,

The following is a silly program I made.

https://pastebin.com/GWGs0phe

It covers:

1) Methods

2) Passing parameters to and from methods

3) Constructors

4) Instantiating new objects

5) Dot notation

6)Printing objects

7) Instance variables

Hope it helps



*NB: I know that I have probably done somethings in a less than optimal way, like not using static for example, but I've just made that program using the stuff I've learned so far.


If you want to see a working OOP program in motion, then:

https://ufile.io/fhtpa

That covers:

persistence
arrays
OOP
accessor modifiers
get/set methods
validation
Methods
Parameter passing

I/O
And other stuff I can't remember exactly off the top of my head