Class PassByValue

java.lang.Object
  |
  +--PassByValue

public class PassByValue
extends java.lang.Object

Parameter Passing in Java is Call-by-Value
Class Button from java.awt is used just to set and ouput its label. Number of Queens n is set as MAX via a property: java -DMAX4 QueensOO sets n=4; default is n=8.

Version:
Vorlesung InfoB SS 02
Author:
Copyright (C) Andrew D. Mackie, 1999

Constructor Summary
PassByValue()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void methodX(java.awt.Button y)
           
static void methodZ(int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassByValue

public PassByValue()
Method Detail

main

public static void main(java.lang.String[] args)

methodX

public static void methodX(java.awt.Button y)

methodZ

public static void methodZ(int j)