What's the best way to define the words “class” and “object” to someone who hasn't used them?

前端 未结 29 884
情话喂你
情话喂你 2020-12-13 05:11

My neighbor is taking \"Intro to Java\", and asked me to help explain a few of the first-day concepts. I realized that since I do this everyday, I don\'t have the beginner\

29条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-13 05:38

    Panda DNA is a class. A Panda running around, eating and performing Panda-like activities is an object.

提交回复
热议问题