Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / 1

1

Computer Science

1. Which of the following is a high-level computer programming language? a. Machine language b. Assembly language c. Japan language d. none of the above 2. Which of the following primitive types could be promoted to another type? a. long b. double c. int d. none of the above 3. The keyword _____ is used at method declaration to specify that the method returns nothing. a. int b. boolean c. static d. void 4. Any field declared with keyword ________ is constant. a. constant b. static c. const d. final 5. Consider the following array declaration: What is the value of the expression: int[] array = {7,2,12,,9,3,10,11,8,3}; System.out.println(array [array[2]-array[3]*2]); a. 18 b. 3 c. 5 d. 12 6. To check if two strings str1 and str2 have the same value we use the command a. s1=s2 b. s1==s2 c. str1.equals(str2) d. None of the above 7. The parameter list in the method header and the method call arguments must agree in: a. number b. type c. order d. All the above 8. When evaluating an expression without parentheses, operands of the same precedency are evaluated a. randomly b. right to left c. at the same time d. left to right 9. The Java primitive type that holds numbers with the largest integer value is: a. byte b. int c. short d. long 10. An overloaded method is one that a. has the same name and arguments, but a different return type as another method. b. has a different name as another method, but the same arguments as another method. c. has the same name and arguments as another method defined in another program. d. None of the above

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions