Lab04a - demo.add(); out.println(demo);

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//© A+ Computer Science - www.apluscompsci.com //Name - //Date - //Lab - import static java.lang.System.*; public class Lab04a { public static void main ( String[] args ) { AddStrings demo = new AddStrings("hello","world"); demo.add(); out.println(demo); demo.setStrings("jim","bob");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: demo.add(); out.println(demo); demo.setStrings("sally","sue"); demo.add(); out.println(demo); demo.setStrings("computer","science"); demo.add(); out.println(demo); demo.setStrings("uil","contests"); demo.add(); out.println(demo); } }...
View Full Document

This note was uploaded on 11/11/2011 for the course C++ comp122 taught by Professor N/a during the Spring '07 term at Cy-Fair College.

Ask a homework question - tutors are online