Results 1 to 2 of 2
Thread: Trouble understanding objects
- 10-03-2011, 10:22 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 11
- Rep Power
- 0
Trouble understanding objects
Given the statements:
Clock firstClock = new Clock(2, 6, 35);
Clock secondClock = new Clock(6, 23, 17);
firstClock = secondClock;
What is the output of the following statements?
firstClock.print();
System.out.println();
secondClock.print();
System.out.println();
Can anyone help me out with this?
Thanks in advance
-
Re: Trouble understanding objects
Similar Threads
-
Trouble understanding CardPanel
By ThrashingBoy in forum New To JavaReplies: 9Last Post: 05-23-2011, 02:52 PM -
trouble understanding code help
By yasmin k in forum New To JavaReplies: 4Last Post: 11-16-2009, 10:46 PM -
Having trouble understanding Class Graphic
By Bernard Robitaille in forum JCreatorReplies: 1Last Post: 04-18-2009, 03:55 AM -
I have trouble understanding this program!
By PureAwesomeness in forum New To JavaReplies: 1Last Post: 03-16-2009, 06:34 AM -
[SOLVED] Trouble understanding or expressions
By hungdukie in forum New To JavaReplies: 1Last Post: 11-23-2008, 02:24 AM
Bookmarks