Showing Results in Screen Monitor
To display the results to the screen can be done with a few commands, such as:
A. Console environment
using the method print () or println () in the class system in the java.lang package structure. This package is the default package for all java apps, so it does not need to be imported into the program.
B. Using the GUI components
using JOptionPane class that is a component of the package javax.swing. Both the output and the input (showMesageDialog () or showInputDialog ()).
Reading Data From Keyboard Input
To display the results to the screen can be done with a few commands, such as:
A.Console environment
using the method print () or println () in the class system in the java.lang package structure. This package is the default package for all java apps, so it does not need to be imported into the program.
B.Using the GUI components
using JOptionPane class that is a component of the package javax.swing. Both the output and the input (showMesageDialog () or showInputDialog ()).
To display the results to the screen can be done with a few commands, such as:
A. Console environment
using the method print () or println () in the class system in the java.lang package structure. This package is the default package for all java apps, so it does not need to be imported into the program.
B. Using the GUI components
using JOptionPane class that is a component of the package javax.swing. Both the output and the input (showMesageDialog () or showInputDialog ()).
Reading Data From Keyboard Input
To display the results to the screen can be done with a few commands, such as:
A.Console environment
using the method print () or println () in the class system in the java.lang package structure. This package is the default package for all java apps, so it does not need to be imported into the program.
B.Using the GUI components
using JOptionPane class that is a component of the package javax.swing. Both the output and the input (showMesageDialog () or showInputDialog ()).
0 komentar:
Posting Komentar