Answer:
import java.io.File; // Import the File class
import java.io.FileNotFoundException; // Import this class to handle errors
import java.util.Scanner; // Import the Scanner class to read text files
public class ReadFile {
public static void main(String[] args) {
try {
File myObj = new File("filename.txt");
Scanner myReader = new Scanner(myObj);
while (myReader.hasNextLine()) {
String data = myReader.nextLine();
System.out.println(data);
}
myReader.close();
} catch (FileNotFoundException e) {
System.out.println("An error occurred.");
e.printStackTrace();
}
}
}
Explanation:
this will read the file and print it out, to do the rest have it take the data and use some "java math" and then print the answers to either console or a file of your choice.
<span>
The name of the robot astronaut created by NASA is Robonaut 2.</span>
<span /><span>This robot has arm, legs, a head and a torso. It even has fingers so that it is able to use the same tools that is used by human astronauts. </span>
<span> Hope this helps. :)</span>
Answer:
___I__22. paper
___I__23. glass
___C__24. iron
___I__25. plastic
___C__26. gold
__C___27. copper
___I__28. wood
___I__29. Rubber
___C__30. Aluminum
Materials which do not allow current to flow easily are called insulators.
Materials which allows current to flow easily are called Conductors.
Local server so you can all you use if you guys are near