Is there any examples?? Like how do I start? I forgot how to do a wrapper class:P
Type: Posts; User: sakura_smile
Is there any examples?? Like how do I start? I forgot how to do a wrapper class:P
so, what can I do to replace the Scanner class in my 1.4.2 version?? How do I do it??
mine is 1.4.2. So what can I do??
My error:
flip.java:7: cannot resolve symbol
symbol : class Scanner
location: class flip
Scanner input=new Scanner(System.in);
^
flip.java:7: cannot resolve...
When I add "import java.util.Scanner;" it creates another error.... saying error on the Scanner class.....
Where should I put the code??
When I press 8 after I run the program, it should sow me how many TV shows are there since
System.out.println("Import "+listsize+" shows");
However, it said 0....
My code:
import java.io.*;
public class TV {
public static void main(String[] args) throws IOException {
String fileInput=("TV.txt");
It is still not working. It said that cannot resolve the scanner class....:(
1272
Here is the error message.
Here is my code:
What's wrong with my code??