Question 8 In the following method, where are ch and d stored? public static void methodB(Character ch) { double d - 0.5; } Och on the heap and d on the stack Och on the stack and d on the heap Och and d on the heap Och and d on the stack
D Question 19 What should RETURN_TYPE be: public static RETURN_TYPE methodA int count, String name, double distance, char erede, done = Idone; String uppercaseName - name.toUpperCase(); double length - distance; int counter = count + 1; return distance; > O boolean String int O char O double
D Question 22 Which of the following are true for the following statement? String [] list = null; initializes the reference variable to null declares a variable to hold a reference to array of String creates/instantiates an array initializes all the elements in the array to null
Question 8 In the following method, where are ch and d stored? public static void methodB(Character ch) { double d - 0.5
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 8 In the following method, where are ch and d stored? public static void methodB(Character ch) { double d - 0.5
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!