Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOP home work #1702

Closed
wants to merge 6 commits into from
Closed

Conversation

DankevichMisha
Copy link

No description provided.

@DankevichMisha
Copy link
Author

ок

@@ -0,0 +1,9 @@
# jv-oop
Copy link

Choose a reason for hiding this comment

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

Redundant file.

Copy link
Author

Choose a reason for hiding this comment

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

okay

@@ -0,0 +1,49 @@
## Common mistakes (jv-oop)
Copy link

Choose a reason for hiding this comment

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

Redundant file.

Copy link
Author

Choose a reason for hiding this comment

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

ok

package core.basesyntax;

public class Bulldozer extends Machine {
@java.lang.Override
Copy link

Choose a reason for hiding this comment

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

Suggested change
@java.lang.Override
@Override


public class MainApp {
public static void main(String[] args) {
Machine[] machines = new Machine[3];
Copy link

Choose a reason for hiding this comment

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

Make constant.

Copy link
Author

Choose a reason for hiding this comment

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

like a :
final Machine[] machines = new Machine[3]; ?

Comment on lines +1 to +4
package core.basesyntax;

public class String {
}
Copy link

Choose a reason for hiding this comment

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

Suggested change
package core.basesyntax;
public class String {
}

Copy link
Author

Choose a reason for hiding this comment

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

delete this?

Choose a reason for hiding this comment

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

yes

make some changes
@DankevichMisha
Copy link
Author

correct mistakes

Copy link

@Rommelua Rommelua left a comment

Choose a reason for hiding this comment

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

Delete this folder jv-oop12 - we do not need it
image

Comment on lines +1 to +4
package core.basesyntax;

public class String {
}

Choose a reason for hiding this comment

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

yes

@DankevichMisha DankevichMisha changed the title ф OOP home work Oct 13, 2023
Copy link
Author

@DankevichMisha DankevichMisha left a comment

Choose a reason for hiding this comment

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

//

Copy link
Author

@DankevichMisha DankevichMisha left a comment

Choose a reason for hiding this comment

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

вроде бы оно

Copy link

@Rommelua Rommelua left a comment

Choose a reason for hiding this comment

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

Треба видалити зайві папки

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.

3 participants