Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $PKGLINE
- /**
- * $CLASSNAME represents a ...
- *
- * @author John Dalbey
- * @version 0.1
- */
- public class $CLASSNAME
- {
- // instance variables
- private int x;
- /**
- * Constructor for objects of class $CLASSNAME
- */
- public $CLASSNAME()
- {
- // initialise instance variables
- x = 0;
- }
- /**
- * Method description goes here.
- *
- * @param y a sample parameter for a method
- * @return the sum of x and y
- */
- public int sampleMethod(int y)
- {
- return x + y;
- }
- /**
- * A local main for unit testing.
- *
- * @param args command line arguments
- */
- public static void main(String[] args)
- {
- $CLASSNAME app = new $CLASSNAME();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement