Ι am fairly new to the Java programming and while reading the book i am just experimenting with the code
Ι am stuck on the following code with the following out put :
package testing;
import textio.TextIO;
public class test {
public static void main(String[] args) {
final String name;
final int age;
final String eyecolor;
final String bff;
final char lastName;
TextIO.put("What is your name?");
name=TextIO.getln();
TextIO.put("What is your age?");
age=TextIO.getInt();
TextIO.put("What is your eyecolor?");
eyecolor=TextIO.getln();
TextIO.put("Who is your bff?");
bff=TextIO.getln();
TextIO.put("What is your Last's Name first letter?");
lastName=TextIO.getChar();
TextIO.writeUserSelectedFile();
TextIO.putln(name);
TextIO.put(age);
TextIO.putln(eyecolor);
TextIO.put(lastName);
System.out.println("Hello World");
}
So first of all, after the line where the user should select the file, no gui is opened. second , is that on the like considering the eyecolor the next line in the console or always glueed to each other and looks like this:
what could be the issues and how could i solve them?