what is correct solution in Inheritance ????
I am new to genetics in Java and I want to resolve this question
I look at the question existing attachments please and what is the correct dissolved and thank you very much
You should be using some sort of IDE to help you with this. I see your code, but I still do not understand what you are looking for. Are you getting an error when attempting to run your code? Or are you looking for clarification of something?
Yes, that code looks like a good answer to the question. (Except: Spelling mistake on line 1, and I have not tested it on a computer).
ps: Most people here advise that you do NOT use Eclipse if you are a complete beginner. Its a very complicated tool for experts, and will not help you when you are trying the learn the fundamentals of Java