Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Polymorphism in the final project

+13 votes
Have any groups found a way to work polymorphism/inheritance into their design? If so, how?
asked Oct 26, 2016 in CSC 285 (F16) by Luke Robinson (100 points)

3 Answers

+2 votes
I think one way would be to have a connection interface implemented by one to many and many to many connection classes.
answered Oct 26, 2016 by Avash Shrestha (100 points)
+2 votes

I like the idea of having an Exporter superclass or interface, with subclasses for Palladio and Gephi...

answered Oct 27, 2016 by Forrest Stonedahl (100 points)
+1 vote
Because our group broke up the storage of persons and connections into two different classes we thought about creating either a storage super class or a storage interface because the two storage classes are rather similar
answered Oct 26, 2016 by James Compere (100 points)