Extra Credit Help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Extra Credit Help

  1. #1
    Join Date
    Oct 2005
    Posts
    8

    Extra Credit Help

    SOLVED
    Last edited by NLS; 10-27-2005 at 05: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, 01:21 AM
  2. XML Security
    By HSIN NING in forum XML
    Replies: 0
    Last Post: 08-21-2000, 01: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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center