All pastes #265163 Raw Edit

Mine

public text v1 · immutable
·published 2006-12-03 01:46 UTC
rendered paste body
...
// related switch statement in updateProf()
//   choice is of type int
   switch ( menuChoice ) {
   case 'A':
     strLastName = handleAddToListAux( "last name" );   // get prof's new last name
     replaceItem(strLastName, choice);//profIterator->setLastName( strLastName );
     System.out.println("\n  Professor update completed. 'P' to print.");
     break;
.....


// error
-bash-3.00$ javac *java
JavaLinkedListDemo.java:307: cannot find symbol
symbol  : method replaceItem(java.lang.String,int)
location: class JavaLinkedListDemo.JavaLinkedListDemo
          replaceItem(strLastName, choice);//profIterator->setLastName( strLastName );
          ^
1 error