Skip to content

Abstract class#2

Open
graceemetz wants to merge 3 commits into
mainfrom
abstract-class
Open

Abstract class#2
graceemetz wants to merge 3 commits into
mainfrom
abstract-class

Conversation

@graceemetz

Copy link
Copy Markdown
Owner

Created an abstract class and fixed some things from the interface assignment

@jrg94 jrg94 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid work.

Comment thread src/NeuronSecondary.java
public boolean equals(Object o) {
Neuron object = this.newInstance();

if (!(o == null || this.getClass() != o.getClass())) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a peek at how this is implemented in the common methods slides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants