Question: JAVA hi it shows me an error for not loading the main class RestoreBlanks in the code. can you fix it for me by input

 JAVA hi it shows me an error for not loading the

main class RestoreBlanks in the code. can you fix it for me

JAVA hi it shows me an error for not loading the main class RestoreBlanks in the code. can you fix it for me by input in the code itself, thank you and 5 star rating.

File: work/java.RestoreBlanks 1 2 import java.io. BufferedReader; 3 import java.io.FileInputStream; 4 import java.io.IOException; 5 import java.io.InputStreamReader; 6 import java.util.ArrayList; 7 import java.util.Scanner; 8 9 public class RestoreBlanks { 0 1 public static void main(String[] args) { 2 3 } ArrayList words = new ArrayList(); 4 5 String inputString=""; 6 7 String outputString=""; 2 3 try { words readAndStore(); inputString = userInput(); outputString = generateOutputString(words, inputString); System.out.println(outputString); } catch (Exception e) { e.printStackTrace(); } + bin/bash -C ../resource/scripts/run.sk CCC_vi_w_DU5po_52756@runwebl:-$ [ Executing RUN ] ccc_v1_w_DU5po_52756@runweb1:-$ ccc_v1_w_DU5po_52756@runweb1:-$ cd; VOC_SELECTED_FILE="java. RestoreBlanks" error: file not found: RestoreBlanks.java Usage: javac use --help for a list of possible options Compilation failed Error: Could not find or load main class RestoreBlanks Caused by: java.lang.ClassNotFoundException: RestoreBlanks is wrong result Error: Could not find or load main class RestoreBlanks Caused by: java.lang.ClassNotFoundException: RestoreBlanks is wrong result. If NOT FOUND print null. Error: Could not find or load main class RestoreBlanks Caused by: java.lang.ClassNotFoundException: RestoreBlanks Run time: Command exited with non-zero status 1 0.05 (standard_in) 1: syntax error (standard_in) 1: syntax error Good run time ccc_v1_w_DU5po_52756@runweb1:-$

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!