DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    8

    Extra Credit Help

    SOLVED
    Last edited by NLS; 10-27-2005 at 04:08 PM.

  2. #2
    Join Date
    Sep 2005
    Location
    TX
    Posts
    23

    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

  1. XML Security
    By HSIN NING in forum Web
    Replies: 0
    Last Post: 08-21-2000, 12:21 AM
  2. XML Security
    By HSIN NING in forum XML
    Replies: 0
    Last Post: 08-21-2000, 12:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links