/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author lenovo
*/
public class PrintRussian {
int i;
char cStart='а',cEnd='я';
int startPosition=(int) cStart;
int endPosition=(int) cEnd;
void getRussian()
{
System.out.println("俄文а在unicode表中的顺序位置:"+startPosition);
System.out.println("俄文字母表:");
for(i=startPosition;i<=endPosition;i++){
char c='\0';
c=(char)i;
System.out.print(" "+c);
}
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author lenovo
*/
public class Test {
public static void main(String args[]){
PrintRussian a=new PrintRussian();
a.getRussian();
}
}
打印俄文
最新推荐文章于 2021-10-16 19:17:26 发布