Question: MyPost Files attachments: Files[5] like No : int posthene String MyPosto MyPost(int) walikud siellytes int getszent new Post Interface print AllInfo. void History Post postYear:
MyPost Files # attachments: Files[5] likesNo: int postDesc :String MyPost MyPost(int -sizeBytes :int getSize(): int new Post interface +print AllInfo :v oid New Post History Post postYear: int EditPost():void Part I Write an example for each of the following: 1. public method: 2. Static Variable : 3. Overriding: 4. Overloading 5. Super class Part II (10 Points) A) [6 points]Write the code of the system. B) 14 points] Write a test class that defines an array of 20 MyPost objects, then print on screen the summation of likes on each History Post object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
