Abstract class and methods, Why?
问题 Hope anyone can help, i am learning Java and as comparable to anyone else in this forum i guess i am a newbie to programming as well. I have come across a chapter on abstract class and methods but don't really fully understand what they are used for and why, and thought i would get an explanation from someone who is an experienced programmer. Below i have example code i have been working on, with the help from this book, what i am not sure about is why in the class Dims do i have to have