CodeGym
Promotion
CodeGym University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Start learning now
  • All questions
Serg
Level 23
Tyumen
  • 15.05.2019
  • 1007views
  • 2comments

Can it be done differently?

Question about the task Zombie cats, zombie dogs
Java Syntax,  Level 6,  Lesson 5
Under discussion
0
Comments (2)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Thomas
Level 11 , Scottsdale, United States
5 June 2019, 20:39
Suggest duplicate lines 5 & 6 for the Cat I got rid of the constructor .... but it ran in main() ok > The Cat and Dog classes must *not have constructors or must have constructors without parameters. https://codegym.cc/tasks/com.codegym.task.task06.task0602
0
ThomasLC
Level 16 , Singapore, Singapore
22 May 2019, 17:13
I'm not quite sure what you are asking? 1. Did your code work & verify? 2. If so, what made you think to ask if this can be done differently?
0
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning and Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2023 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2023 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.