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...
Type: Posts; User: noFear
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...
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;
...
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...
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...
I have recently realised that but i can`t figure out how to fix this issue. Any suggestions?
Hello
I have this code:
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.util.Scanner;
import java.util.ArrayList;