Search:

Type: Posts; User: DavidXCode

Search: Search took 0.34 seconds.

  1. Re: Display() and readInput () function Problem

    i have function readInput() as show below
    public void readInput()
    {
    System.out.println("Fruit Name:");
    name=input.nextLine();
    System.out.println("Fruit Country");...
  2. Re: Display() and readInput () function Problem

    i'm beginner to Java.. i have problem with writing the " display() " to display my input and " read input()" to read my input function.
  3. Display() and readInput () function Problem

    1540


    import java.util.Scanner;
    class Fruitt
    {
    private String name;
    private String country;
    private boolean edible;
    private double price;
Results 1 to 3 of 3