Question: Can somebody help me with this in java 1.Design a java interface called IDedObject which has following abstract functions int getlD() void printID) //Returns the
Can somebody help me with this in java



1.Design a java interface called IDedObject which has following abstract functions int getlD() void printID) //Returns the ID of the object //Prints the details of the ID 2.Design a java class Magazine that implements IDedObject interface and has the following class variables: int magazineID String magazineName String publisherName Implement suitable constructors, a printID function that prints all the variable values in separate lines and getID() function that returns the magazinelD. Add any access and other functions necessary Note all your data should be private and methods public inside the class) 3. Design a generic singly linked list java class (Give an appropriate name) to hold objects of the generic type
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
