





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A portion of the spring 2005 syllabus for a university course, cmsc 433, focusing on programming language technologies and paradigms. Topics related to interactive development environments, testing, and debugging. It discusses the use of tools like drjava and eclipse, the importance of testing and debugging, and techniques for effective debugging. Students are encouraged to use the scientific method and defensive programming to identify and address issues.
Typology: Study Guides, Projects, Research
1 / 9
This page cannot be seen from the preview
Don't miss anything!






class IntSet { int[] elts; ... }
class IntSet { // rep inv: elts contains no duplicates int[] elts; ... }
public boolean repOK() { ...check for duplicates in elts... }
class IntSet { int[] elts; int[] getElements () { return elts; } }
class Stack { class Entry { Element elt; Entry next; Entry(Element i, Entry n) { elt = i; next = n; } } Entry theStack; void push(Element i) { theStack = new Entry(i, theStack); } Element pop() throws EmptyStackException { if (theStack == null) throw new EmptyStackException(); else { Element i = theStack.elt; theStack = theStack.next; return i; }}}
Stack is = new Stack(); Integer i; is.push(new Integer(3)); is.push(new Integer(4)); i = is.pop();