Java Beginners

Moderators: zibadian
Number of threads: 1233
Number of posts: 2675

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Definition? Posted by javaNoob12 on 3 Mar 2013 at 7:58 PM
Could someone answer a Quick java question?

What would be the definition for a post-condition x=0 in this class. I need help with the last part of an assignment and I would much appreciate it. I assume it is: x = 0; but I think that is just too simple.

/*Class FirstMove

{
private int x;
private static int count;

public FirstMove()
{

}*/



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.