Search:

Type: Posts; User: makonikor

Search: Search took 0.66 seconds.

  1. Replies
    16
    Views
    802

    Re: stack project-runtime error

    the last question: is the code correct for determining the sequence of letters?
  2. Replies
    16
    Views
    802

    Re: stack project-runtime error

    do you know a link that can teach me how to do it?
  3. Replies
    16
    Views
    802

    Re: stack project-runtime error

    ok it compiles when I use Scanner scan=new Scanner("{{([])}}\n"); but how am I supposed to make it work when it is Scanner scan=new Scanner(new FileReader(file));
  4. Replies
    16
    Views
    802

    Re: stack project-runtime error

    I have no idead what you are talking about.
  5. Replies
    16
    Views
    802

    Re: stack project-runtime error

    no the name of the file must be "Test. java", but it does not accept it , it does not accept any input
  6. Replies
    16
    Views
    802

    Re: stack project-runtime error

    I want scanner to read the file. actually the stack is determining if the input is valid or not and push or pop that data to the stack. example:
    {{([])}} is a legal sequence but ()[]/* is not.
  7. Replies
    16
    Views
    802

    Re: stack project-runtime error

    Enter file name:
    8
    Exception in thread "main" java.io.FileNotFoundException: 8 (Sistem belirtilen dosyayı bulamıyor)
    at java.io.FileInputStream.open(Native Method)
    at...
  8. Replies
    16
    Views
    802

    stack project-runtime error

    hey guys, I wrote a code for my java class project. it is about stacks. you can see my code below. I don know why but it gives
    runtime error. please help me out.


    import java.util.*;
    import...
Results 1 to 8 of 8