JVM Languages
jqa799.txt
Associated article: How Can I Test Java Classes?
Tags: JVM Languages
Published source code accompanying the article by Krishnan Rangaraajan in which he examines conventional software testing techniques, then presents an alternate approach which he feels is superior in many ways.
Java Q&A
Krishnan Rangaraajan
Listing One
class MyStack {
private Object[] elems;
private int top, max;
public MyStack(int sz) {
max = sz;
elems = new Object[sz];
}
public void push(Object obj) throws Exception {
if( top < max )
elems[top++] = ...


