Tag Archives: true
Given: (Exhibit) Which is true?
Given:Which is true? A. The compilation fails due to an error in line 6. B. The compilation fails due to an error in line 7. C. The compilation fails due to an error in line 4. D. The compilation succeeds. E. The compilation fails due to an error in line 2. F. The compilation fails due to an… Read More »
Given: (Exhibit) Which statement is true?
Given:Which statement is true? A. All classes from the package java.time. are loaded for the class Diary. B. Only LocalDate class from java.time package is loaded. C. Class Tester does not need to import java.time.LocalDate because it is already visible to members of the package test. D. Tester must import java.time.LocalDate in order to compile. Correct Answer: C
Given: (Exhibit) Which three are true? (Choose three.)
Given:Which three are true? (Choose three.) A. f1.foo(c) prints Ola Mundo! B. f1.foo(c) prints Bonjour le monde! C. b1.foo(c) prints Bonjour le monde! D. b1.foo(c) prints Hello world! E. b1.foo(c) prints Ola Mundo! F. f2.foo(c) prints Ola Mundo! G. f1.foo(c) prints Hello world! H. f2.foo(c) prints Hello world! I. f2.foo(c) prints Bonjour le monde! Correct Answer: E,G,I
Given: (Exhibit) Which two statements are true if the method is added to Bar? (Choose two.)
Given:Which two statements are true if the method is added to Bar? (Choose two.) A. public <T> Collection<T> bar(Collection<T> arg) { … } overloads Foo.foo. B. public <T> Collection<T> foo(Collection<T> arg) { … } overloads Foo.foo. C. public <T> Iterable<T> foo(Collection<T> arg) { … } overrides Foo.foo. D. public <T> Collection<T> foo(Stream<T> arg) { … } overloads Foo.foo.… Read More »
Which two statements are true about the modular JDK? (Choose two.)
Which two statements are true about the modular JDK? (Choose two.) A. The foundational APIs of the Java SE Platform are found in the java.base module. B. APIs are deprecated more aggressively because the JDK has been modularized. C. An application must be structured as modules in order to run on the modular JDK. D. It is possible… Read More »
Which two are true about shrinking a segment online? (Choose two.)
Which two are true about shrinking a segment online? (Choose two.) A. It is not possible to shrink either indexes or Index Organized Tables (IOTs) B. It always eliminates all migrated rows if any exist in the table C. To shrink a table it must have a PRIMARY KEY constraint D. To shrink a table it must have… Read More »
Which two are true about shrinking a segment online? (Choose two.)
Which two are true about shrinking a segment online? (Choose two.) A. It is not possible to shrink either indexes or Index Organized Tables (IOTs) B. It always eliminates all migrated rows if any exist in the table C. To shrink a table it must have a PRIMARY KEY constraint D. To shrink a table it must have… Read More »
Which three statements are true about the structure of a Java class? (Choose three.)
Which three statements are true about the structure of a Java class? (Choose three.) A. A public class must have a main method. B. A method can have the same name as a field. C. A class can have overloaded static methods. D. The methods are mandatory components of a class. E. The fields need not be initialized… Read More »
Which two statements are true about the rules of precedence for operators? (Choose two.)
Which two statements are true about the rules of precedence for operators? (Choose two.) A. The concatenation operator | | is always evaluated before addition and subtraction in an expression B. NULLS influence the precedence of operators in an expression C. The + binary operator has the highest precedence in an expression in a SQL statement D. Arithmetic… Read More »