-
Extra Credit Help
Last edited by NLS; 10-27-2005 at 04:08 PM.
-
Looks good!
I looked at your code. It all seems right to me.
What exactly seems to be the problem?
If you want to test out your class you could make a main method:
....
public static void main(String[] args){
//And create an object of your class and go from there.
Counter counter = new Counter(32234,345345);
System.out.println("counter.getValue(): " + counter.getValue());
counter.increment();
Sytem.out.println("counter.getValue(): " + counter.getValue());
.......
}
....
Similar Threads
-
By HSIN NING in forum Web
Replies: 0
Last Post: 08-21-2000, 12:21 AM
-
By HSIN NING in forum XML
Replies: 0
Last Post: 08-21-2000, 12:17 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks