자바 점프?? 구현?
미나래
design and implement a class frog. each frog object has a name and keeps track of the number of times it leaps.
define two constructors, set and get methods for each date field, and the method tostring. also, define a method
jump that simply increments the number of times the frog has jumped by 1. demonstrate your class by creating three frog objects. the output from this demonstration might appear as follows::
kermit has leapt 5 times.
kermit has leapt 8 times.
legs has leapt 0 times.
frogger has leapt 3 times.
저게 어떻게 하는건지 도무지 감이 안 잡히네요 ㅠㅠ
알듯 말듯...........힌트 좀 주시면 안될까요??????????????
-
아키
화이팅! 어렵다고 느껴지는 부분이 있을땐 일단 쉬운부분부터 시작하세요
그런다음 막히는 부분부터 한가지씩 ^^ 풀어나가세요 (질문을 하셔도 좋고.. 찾아보셔도 좋습니다.)
(※위의 Description은 OOP개념과 class개념을 알고있는지 확인하기위한 심플한
과제인것 같습니다.)