In Java programming language only allows single inheritance.
In Java programming language allows a class to implement only one interface.
In Java programming language a class cannot extend a class and implement a interface together.
In Java programming language single inheritance makes code more reliable.
第1题:
Structured programming practices(71)rise to Pascal,in which constructs were introduced to make programs more readable and better(72). C provided a combination of assembly language and high-level Structure to create a general-purpose language that could be used from system to(73)programming. Next came object orientation,which is(74)of a methodology and design philosophy than a language issue.This is(75)by the addition of so-called OO extensions to current languages,such as C.
A.giving
B.given
C.gave
D.gives
第2题:
is not a programming language.
A.COBOL
B.Java.
C.UML
D.Basic
第3题:
● (75) is not a programming language.
(75) A.COBOL
B.Java
C.UML
D.Basic
第4题:
Structured programming practices(71)rise to Pascal, in which constructs were introduced to make programs more readable and better(72)C provided a combination of assembly and high -level structure to create a general -purpose language that could be used from system to(73)programming. Next came object orientation, which is(74)of a metrology and design philosophy than a language issue. This is(75)by the addition of so - called OO extensions to current language, such as C++.
A.giving
B.given
C.gave
D.gives
第5题:
A.The class implements java.lang.Comparable.
B.The class implements java.util.Comparator.
C.The interface used to implement sorting allows this class to define only one sort sequence.
D.The interface used to implement sorting allows this class to define many different sort sequences.
第6题:
( 19 )阅读下列代码
public class Test2005{
public static void main(String args[]){
String s= ″ Test ″ ;
Switch(s){
case ″ Java ″ : System.out.print( ″ Java ″ ) ;
break ;
case ″ Language ″ : System.out.print( ″ Language ″ ) ;
break ;
case ″ Test ″ : System.out.print( ″ Test ″ ) ;
break ;
}
}
}
其运行结果是
A ) Java
B ) Language
C ) Test
D )编译出错
第7题:
The standard class(17) in C + + language contain many useful classes for input and output, string handling, mathematical computations, and system programming tasks.
A.database
B.files
C.libraries
D.subroutine
第8题:
阅读下列代码 public class Test 2005{ public static void main(String args[]){ Strings="Test"; switch(s){ case "Java":System.out.print("Java"); break; case "Language":System.out.print("Language"); break; case "Test":System.out.ptint("Test"); break; } } } 其运行结果是
A.Java
B.Language
C.Test
D.编译出错
第9题:
______ is not a programming language.
A.COBOL
B.Java
C.UML
D.Basic
第10题: