mathfinals1.java

来自「java 教程源码」· Java 代码 · 共 27 行

JAVA
27
字号
//c6:MathFinals1.java
//author:ZhangHongbin 
//This program is protected by copyright laws.
//outputs values of PI and E.
//import java.lang.*;
//import java.lang.Math;

/**
 This program outputs values of PI and E
	in java.lang.Math 
 */
public class MathFinals1 
{
	/** This is field x of MathFinals1.
	 */
	public int x;
	/** This is method  m of MathFinals1 
	 */
	 void m()
	{}
	public static void main(String[] args)	
	{
		System.out.println("PI= "+Math.PI);
		System.out.println("E= "+Math.E);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?