Pages

Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts

Wednesday, April 16, 2014

H.Ren

Similarly, you can create a Whale object, but this time you can call the Swim, Breathe, and SuckleY-
oung methods; Trot is not available because it is only defined in the Horse class.

Sunday, April 13, 2014

Press the Enter

In the Code and Text Editor window, return to the doWork method, and add two more state-
ments. In the first statement, declare a local variable named weddingAnniversary and initialize
it to July 4 2013. (I actually did get married on Independence Day, although it was many years
ago.) In the second statement, write the value of weddingAnniversary to the console.