Lab01a - flag.twentyDashes flag.twentyStars...

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 -Dat Le //Date -08/29/11 //Lab -1a import static java.lang.System.*; public class Lab01a { public static void main(String args[]) { //instantiate a StarsAndStripes object StarsAndStripes flag = new StarsAndStripes(); //call the methods needed to make the patterns on the word document flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twentyStars();
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twoBlankLines(); flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); flag.twentyStars(); flag.twentyDashes(); } }...
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