showthecall.java
来自「《A first book of java》by Gary J.Bronson 」· Java 代码 · 共 16 行
JAVA
16 行
import javax.swing.*;
public class ShowTheCall
{
public static void main(String[] args)
{
String s1;
double firstnum, secnum;
s1 = JOptionPane.showInputDialog("Enter number:");
firstnum = Double.parseDouble(s1);
s1 = JOptionPane.showInputDialog("Great! Please enter a second number: ");
secnum = Double.parseDouble(s1);
findMaximum(firstnum, secnum); // the method is called here
System.exit(0);
} // end of method
} // end of class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?