单项选择题
在待排序的元素序列基本有序的前提下,效率最高的排序方法是______。
- A.冒泡排序
B.选择排序
C.快速排序
D.归并排序
点击查看答案&解析
相关考题
-
单项选择题
下列对类的声明,正确的是______。
A.abstract final class Hh{…}
B.abstract private move( ){…}
C.protected private number;
D.public abstract class Car{…} -
单项选择题
要从“file.dat”文件中读出第10个字节存到变量C中,下列______方法是合适的。
A.FileInputStream in=new FileInputStream("fildat");iskip(9);int c=iread( );
B.FileInputStream in=new FileInputStream("fildat");iskip(10);int c=iread( );
C.FileInputStream in=new FileInputStream("fildat");int c=iread( );
D.RandomAccessFile in=new RandomAccessFile("fildat");iskip(9);int c=ireadByte( ); -
单项选择题
在匹配器(Matcher)类中,用于寻找下一个模式匹配串的方法是______。
A.static boolean matches( )
B.boolean matchefind( )
C.int matchestart( )
D.int matcheend( )
