Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 3 Forum
Date: Thu Sep 27 2001 12:21 am
Author: Chen, Richard <richardc@andrew.cmu.edu>
Subject: Re: search method

Parser.java comes w/ the method declaration:

public int search(String word, int mark)

You'll give the search method 2 parameters: 1. the word to search for 2. the line number at which to commence searching.

Therefore, you won't be able to call just , but to answer your question in just 1 word: yes.
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
search method      Dozzi, Giancarlo      Wed Sep 26 2001 6:34 pm       
Re: search method      Chen, Richard      Thu Sep 27 2001 12:21 am       
Re: search method      White, David      Thu Sep 27 2001 11:54 am       
Re: search method      Yuen, John      Thu Sep 27 2001 12:09 pm       

Back to previous screen