Successfully reported this slideshow.
Your SlideShare is downloading. ×

File- LineScrabbleDriver-java -U 4- in-Desktop-Guess this is the death.docx

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Java 3 Computer Science.pptx
Java 3 Computer Science.pptx
Loading in …3
×

Check these out next

1 of 1 Ad

File- LineScrabbleDriver-java -U 4- in-Desktop-Guess this is the death.docx

Download to read offline

File: LineScrabbleDriver.java /U 4/ in/Desktop/Guess this is the death of me-GRASP CSD uava. 87% )- 12:19 Q Project Settings Tools Window Help import java.util.Scanner: import java.io.* public class LineScrabbleDriver public static void main(String argsl]) try string fileName; Scanner scan new Scanner (System.in); System.out.println(\"Enter a file name please fileName = scan. nextLine(); Linescrabble anew Linescrabble(fileName) a.readLines) a.doLine(); e.consequence) catch (IOException e) System.out.println( \"Please enter a file name whose file has strings.\" Echo.java LineScrabbleDriver.java LineScrabble.java GRASP Messages | Runl/O | Interactions LineScrabbleDriver . java: 14: doLine( java . 1ang.String) intineserabble cannotbe applied to a dolineOi l error Compile Messages Stop Clear Copy Line:15 Col:1 Code:97 Top:1
Solution
In your LineScrabble.java
instead of public void doLine(String c)
replace with public void processLine(String c)
then it will execute successfully
.

File: LineScrabbleDriver.java /U 4/ in/Desktop/Guess this is the death of me-GRASP CSD uava. 87% )- 12:19 Q Project Settings Tools Window Help import java.util.Scanner: import java.io.* public class LineScrabbleDriver public static void main(String argsl]) try string fileName; Scanner scan new Scanner (System.in); System.out.println(\"Enter a file name please fileName = scan. nextLine(); Linescrabble anew Linescrabble(fileName) a.readLines) a.doLine(); e.consequence) catch (IOException e) System.out.println( \"Please enter a file name whose file has strings.\" Echo.java LineScrabbleDriver.java LineScrabble.java GRASP Messages | Runl/O | Interactions LineScrabbleDriver . java: 14: doLine( java . 1ang.String) intineserabble cannotbe applied to a dolineOi l error Compile Messages Stop Clear Copy Line:15 Col:1 Code:97 Top:1
Solution
In your LineScrabble.java
instead of public void doLine(String c)
replace with public void processLine(String c)
then it will execute successfully
.

Advertisement
Advertisement

More Related Content

Similar to File- LineScrabbleDriver-java -U 4- in-Desktop-Guess this is the death.docx (20)

More from jkristen1 (20)

Advertisement

Recently uploaded (20)

File- LineScrabbleDriver-java -U 4- in-Desktop-Guess this is the death.docx

  1. 1. File: LineScrabbleDriver.java /U 4/ in/Desktop/Guess this is the death of me-GRASP CSD uava. 87% )- 12:19 Q Project Settings Tools Window Help import java.util.Scanner: import java.io.* public class LineScrabbleDriver public static void main(String argsl]) try string fileName; Scanner scan new Scanner (System.in); System.out.println("Enter a file name please fileName = scan. nextLine(); Linescrabble anew Linescrabble(fileName) a.readLines) a.doLine(); e.consequence) catch (IOException e) System.out.println( "Please enter a file name whose file has strings." Echo.java LineScrabbleDriver.java LineScrabble.java GRASP Messages | Runl/O | Interactions LineScrabbleDriver . java: 14: doLine( java . 1ang.String) intineserabble cannotbe applied to a dolineOi l error Compile Messages Stop Clear Copy Line:15 Col:1 Code:97 Top:1 Solution In your LineScrabble.java instead of public void doLine(String c) replace with public void processLine(String c) then it will execute successfully

×