http://www.finalemusic.com/notepad/
或者 Finale
http://www.finalemusic.com/store/productoverview.aspx
// Fan.javaclass Fan
{
private double speed
private double radius
private boolean on
static long numOfFan = 0
public Fan(){
speed = 0
radius = 0
on = false
numOfFan ++
}
public Fan(double speed, double radius, boolean on){
this.speed = speed
this.radius = radius
this.on = on
numOfFan ++
}
public void setSpeed(double speed){
this.speed = speed
System.out.println( "set speed: " + speed )
}
public void setOn(boolean on){
this.on = on
System.out.println( "set on: " + on )
}
public double getSpeed(){
return this.speed
}
public double getRadius(){
return this.radius
}
public boolean getOn(){
return this.on
}
public static long getNumOfFan(){
return numOfFan
}
public String toString(){
return "Fan(speed: " + speed + ", radius: " + radius + ", on: " + on + ")"
}
}
// FanDemo.java
import java.util.*
class FanDemo
{
public static void main(String[] args)
{
Fan fan = new Fan( 1.3, 2, false )
System.out.println( fan )
fan.setSpeed( 4.22 )
System.out.println( fan )
fan.setOn( true )
System.out.println( fan )
System.out.println( ">>>>>>>>>>>>test Get <<<<<<<<<<<" )
System.out.println( fan )
System.out.println( "speed: " + fan.getSpeed() )
System.out.println( "radius: " + fan.getRadius() )
System.out.println( "on: " + fan.getOn() )
System.out.println( "==================================" )
Fan[] fans = new Fan[2]
for(int i = 0i <2i ++)
fans[i] = new Fan()
System.out.println( "NumOfFan: " + Fan.getNumOfFan() )
}
}
1、按住键盘的“Ctrl+A”键,全选将要重命名的文件。2、对着全选的文件按住鼠标右键,点击“重命名”3、重命名其中一个文件名, 按Enter键完成。5、所有选中的文件全部批量重命名了,并在后面自动加了序号。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)