Home > Back-end >  Consult, almost crying
Consult, almost crying

Time:09-19

-- -- -- -- -- -- -- -- -- -- javac -- -- -- -- -- -- -- -- -- --
DemoControl. Java: 75: error: can't find the symbols
Public static computer getMincomputer (MyList computers) {
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 84: error: can't find the symbols
Public static computer getMaxcomputer (MyList computers) {
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 5: error: can't find the symbols
Computers. The add (new computer (" 01 ", "lenovo", 16000));
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 6: error: can't find the symbols
Computers. The add (new computer (" 02 ", the word "apple", 13000));
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 7: error: can't find the symbols
Computers. The add (new computer (" 3 ", "god of war", 12088));
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 8: error: can't find the symbols
Computers. The add (new computer (" 04 ", "HP", 5499));
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 9: error: can't find the symbols
Computers. The add (new computer (" 5 ", "shenzhou", 7488));
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 10: error: can't find the symbols
Computers. The add (new computer (" 6 ", "samsung", 10199));
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 12: error: can't find the symbols
Computer b;
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 20: error: can't find the symbols
ComputerById (computerId, computers);
^
Symbol: method computerById (String, MyList)
Location: class DemoControl
DemoControl. Java: 28: error: can't find the symbols
B=new computer (id, computerName, size);
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 49: error: can't find the symbols
Showcomputer (bs);
^
Symbol: method showcomputer (MyList)
Location: class DemoControl
DemoControl. Java: 60: error: can't find the symbols
Int I=getIndexById (computerId computcers);
^
Symbol: variable computcers
Location: class DemoControl
DemoControl. Java: 64: error: can't find the symbols
Computcers. Delete (I);
^
Symbol: variable computcers
Location: class DemoControl
DemoControl. Java: 68: error: can't find the symbols
for (int i=0; i^
Symbol: variable computer
Location: class DemoControl
DemoControl. Java: 76: error: can't find the symbols
The computer min=computers. Get (0);
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 85: error: can't find the symbols
Computer Max=computers. Get (0);
^
Symbol: class computer
Location: class DemoControl
DemoControl. Java: 96: error: can't find the symbols
Computer b=computers. Get (I);
^
Symbol: class computer
Location: class DemoControl
18 error

Output complete (take 0 seconds) - normal termination

CodePudding user response:

Use common ide development tools to learn language knowledge, using the command line to execute compile operation and bad to write, and bad to find errors, that's a waste of time, commonly used an ide such as eclipse, idea, etc

CodePudding user response:

The
refer to the original poster MY12251 response:
output complete (take 0 seconds) - normal termination


Obviously your computer class was not in a package no import or imported the computer class, list the class is not public,

Indeed as the upstairs said foundation of using the programming tool, the eclipse free of charge.