Search:

Type: Posts; User: noFear

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    1,924

    Re: Problem with the code

    how exactly to do that? I mean, aren`t constructors used when i create the object within the main method in my code? In my case the information about the objects is entered through the command line...
  2. Replies
    10
    Views
    1,924

    Re: Problem with the code

    I have actually just figured the solution out.

    public Specification (String name, String IP, String OS, int RAM){

    this.name=name;
    this.IP=IP;
    this.OS=OS;
    ...
  3. Replies
    10
    Views
    1,924

    Re: Problem with the code

    The add feature should enter information through command line for the fields of the class(Server Name(String), IP(String), OS9String), RAM(int)). This information then should be written in a text...
  4. Replies
    10
    Views
    1,924

    Re: Problem with the code

    the task is:

    Create a command line application which will store information for servers with the following fields:
    Server Name, IP, OS, RAM
    The application should be able to add, edit and delete...
  5. Replies
    10
    Views
    1,924

    Re: Problem with the code

    I have recently realised that but i can`t figure out how to fix this issue. Any suggestions?
  6. Replies
    10
    Views
    1,924

    Problem with the code

    Hello

    I have this code:


    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.util.Scanner;
    import java.util.ArrayList;
Results 1 to 6 of 7