Join the discussion
Add Comments
- Other Question (109q)
- Q1. Which two are successful examples of autoboxing? (Choose two.)...
- Q2. Given: (Exhibit) What is the result?
- Q3. Given the Customer table structure: * ID Number Primary Key * NAME Text Nullable Given cod...
- Q4. Given: (Exhibit) and (Exhibit) What is the result?...
- Q5. And the code fragment: (Exhibit) Which situation will occur on code fragment execution?...
- Q6. Given: (Exhibit) What is the type of x?
- Q7. Given: (Exhibit) What is the result?
- Q8. Given: (Exhibit) Which two lines cause compilation errors? (Choose two.)...
- Q9. Given the content from the course.txt file: (Exhibit) Which code fragment at line 1 prints...
- Q10. Given: public class X { } and public final class Y extends X { } What is the result of com...
- Q11. Given: (Exhibit) What is the result?
- Q12. Given: (Exhibit) What is the result?
- Q13. Given the directory structure: (Exhibit) What is the result?...
- Q14. Given: (Exhibit) What is the type of the local variable x?...
- Q15. Given: (Exhibit) and (Exhibit) and (Exhibit) What is the result?...
- Q16. Given the code fragment from Box. Java: (Exhibit) Given the code fragment from item.java: ...
- Q17. Given: (Exhibit) Which would cause s to be AQCD?...
- Q18. Given: (Exhibit) What is the result?
- Q19. Analyze the code: (Exhibit) Which two options can you insert inside println method to prod...
- Q20. Given: (Exhibit) What is the result?
- Q21. Given: (Exhibit) Which loop incurs a compile time error?...
- Q22. Given: (Exhibit) What is the result?
- Q23. Given: (Exhibit) Which three classes successfully override printOne()? (Choose three.) (Ex...
- Q24. Given: (Exhibit) What is the output?
- Q25. Given the code fragment: Which two code fragments, independently, replace line 1 to implem...
- Q26. Given: (Exhibit) Which code fragment on line 1 makes the m map contain the employee with t...
- Q27. Given the code fragment: (Exhibit) What is the result?...
- Q28. Given: (Exhibit) If file "App.config" is not found, what is the result?...
- Q29. You replace the code on line 1 to use ParallelStream. (Exhibit) Which one is correct?...
- Q30. Which two statements are true about Java modules? (Choose two.)...
- Q31. Given: (Exhibit) What must be added in line 1 to compile this class?...
- Q32. Given this requirement: Module vehicle depends on module part and makes its com.vehicle pa...
- Q33. Given: (Exhibit) What action ensures successful compilation?...
- Q34. Given the code fragment: (Exhibit) How many lines of text does this program print?...
- Q35. Given: (Exhibit) After which line can we insert assert i < 0 || values[i] <= values[...
- Q36. Given: (Exhibit) What is the result?
- Q37. Which two statements are correct about modules in Java? (Choose two.)...
- Q38. Given the code fragment: (Exhibit) What is the result? EUR -> 0.84...
- Q39. Given: (Exhibit) Which three classes successfully override showFirst ()? A) (Exhibit) B) (...
- Q40. Given: (Exhibit) executed using this command: java Myclass My Car is red What is the outpu...
- Q41. Given: LocalDate d1 = LocalDate.of(1997,2,7); DateTimeFormatter dtf = DateTimeFormatter.of...
- Q42. Which module-info.java is correct for a service provider for a print service defined in th...
- Q43. Given the code fragment: (Exhibit) Which "for" loop produces the same output? (Exhibit)...
- Q44. Given the code fragment: (Exhibit) Which can replace line 11?...
- Q45. Given: (Exhibit) Which two methods modify field values? (Choose two.)...
- Q46. Which statement about a functional interface is true?...
- Q47. Given the Customer table structure: * ID Number Primary Key * NAME Text Nullable Given cod...
- Q48. Given: (Exhibit) Which would cause s to be AQCD?...
- Q49. Given: (Exhibit) Why does D cause a compilation error?...
- Q50. Analyze the code: (Exhibit) Which two options can you insert inside println method to prod...
- Q51. Given the code fragment: (Exhibit) You want to validate a path name before the read file. ...
- Q52. Given: (Exhibit) What is the result?
- Q53. Given: (Exhibit) You want to use the myResource class in a try-with-resources statement. W...
- Q54. Given: (Exhibit) Taking into account that the order of the elements is unpredictable, what...
- Q55. Given: (Exhibit) What is the result?
- Q56. Given: (Exhibit) What is the result?
- Q57. Which two statements inserted independently on line 3 will make this code compile?...
- Q58. Given: (Exhibit) Which code fragment on line 1 makes the m map contain the employee with t...
- Q59. Given: (Exhibit) What is the output?
- Q60. Given: (Exhibit) What is the result?
- Q61. Given: (Exhibit) Which two statements are valid to be written in this interface? (Choose t...
- Q62. Given: (Exhibit) What code must you insert on Line 1 to enable the code to print Hello wor...
- Q63. Which two are functional interfaces? (Choose two.) (Exhibit)...
- Q64. Given: (Exhibit) What is required to make the Foo class thread safe?...
- Q65. Given: (Exhibit) Which two statements are true if the method is added to Bar? (Choose two....
- Q66. Which code is correct?
- Q67. Given the code fragment: (Exhibit) What is the result? A) (Exhibit) B) (Exhibit) C) (Exhib...
- Q68. Given: (Exhibit) Which would cause s to be AQCD?...
- Q69. Which interface in the java.util.function package can return a primitive type?...
- Q70. Given the content from the course.txt file: (Exhibit) Which code fragment at line 1 prints...
- Q71. Given: (Exhibit)
- Q72. Given: (Exhibit) What is the result?
- Q73. Given: (Exhibit) executed using command: java Hello "Hello World" Hello World What is the ...
- Q74. Given: (Exhibit) and: (Exhibit) Which code, when inserted on line 10, prints the number of...
- Q75. Given: (Exhibit) and (Exhibit) Which two method definitions at line n1 in the Bar class co...
- Q76. Given: (Exhibit) What is the result?
- Q77. Given an application with a main module that has this module-info.java file: (Exhibit) Whi...
- Q78. Given: (Exhibit) What is the result?
- Q79. Given: (Exhibit) You want to examine the items list it contains an item for which the vari...
- Q80. Given: (Exhibit) What is the result?
- Q81. Given: jdeps -jdkinternals C:\workspace4\SimpleSecurity\jar\classes.jar Which describes th...
- Q82. Given the declaration: (Exhibit) Examine this code fragment: /* Loc1 */ class ProcessOrder...
- Q83. Given: var fruits = List.of("apple", "orange", "banana", "lemon"); You want to examine the...
- Q84. A company has an existing sales application using a Java 8 jar file containing packages: c...
- Q85. Given this enum declaration: (Exhibit) Examine this code: System.out.println(Alphabet.getF...
- Q86. Given: (Exhibit) Which two changes need to be made to make this class compile? (Choose two...
- Q87. Given: (Exhibit) What is the output?
- Q88. Given: (Exhibit) Which two method implementations are correct, when inserted independently...
- Q89. Given the formula to calculate a monthly mortgage payment: (Exhibit) and these declaration...
- Q90. Given: (Exhibit) What action ensures successful compilation?...
- Q91. Given: (Exhibit) What is the result?
- Q92. Given: /code/a/Test.java containing: (Exhibit) and /code/b/Best.java containing: package b...
- Q93. Given: (Exhibit) Which is true?
- Q94. Given: (Exhibit) What is the output? banana orange apple lemon...
- Q95. Which code fragment compiles? (Exhibit)
- Q96. Given an application with a main module that has this module-info.java file: (Exhibit) Whi...
- Q97. There is a copyServiceAPI that has the org.copyservice. spi. Copy interface To use this se...
- Q98. Given: /code/a/Test.java containing: (Exhibit) and /code/b/Best.java containing: package b...
- Q99. Which code fragment does a service use to load the service provider with a Print interface...
- Q100. Given: (Exhibit) What is the result?
- Q101. Given: (Exhibit) And the command: java Main Helloworld What is the result ?...
- Q102. Which declaration of an annotation type is legal? @interface Author {...
- Q103. Given: (Exhibit) What is the result?
- Q104. Given: (Exhibit) What is the type of the local variable x?...
- Q105. Given the code fragment: (Exhibit) What is the result?...
- Q106. Given: (Exhibit) What is the result?
- Q107. Given: (Exhibit) Which two constructors will compile and set the class field strings? (Cho...
- Q108. Given: (Exhibit) Which two lines inserted in line 1 will allow this code to compile? (Choo...
- Q109. Given: (Exhibit) Why does D cause a compilation error?...
