Can someone please help me with Dynamic Binding. This is my 5th time trying to get a
Question:
Can someone please help me with Dynamic Binding. This is my 5th time trying to get a program running but I have been late due to personal issues. I wanted to make a dynamic binding program based on a Network or PC I only have the first class, if anyone can add additional classes and methods that would be much appreciated. I can be contacted here or at s..6@gmail.com
Assignment:
Write a small program that uses dynamic binding. In your comments explain which statement(s) is doing the dynamic binding... But the program code structure needs to be enhanced to demonstrate dynamic binding using an abstract class. Also, ALL classes must have instance variables, Accessors, and Mutators, Constructors, and toString()/ Display() methods.
No Input/Output statements should be coded in Parent class or Child class.
Again any help would be appreciated on helping me, this is what I have so far for the first class
PCStatus.java, if compensation is required to complete the program please let me know
public abstract class PCStatus { String Status; public PCStatus(String Status) { this.Status=Status; } //get method and set method //getter public String getStatus() { return Status; } //setter public void setStatus(String Status) { this.Status = Status; } } //parent method 1 public abstract String Normal(); //parent method 2 public abstract String TurningOn(); //parent method 3 public abstract String Overheating(); //toString public String toString() { return Normal() + TurningOn() + Overheating(); } }
Intermediate Accounting Volume 1
ISBN: 9781260306743
7th Edition
Authors: Thomas H. Beechy, Joan E. Conrod, Elizabeth Farrell, Ingrid McLeod Dick