Question

1.What is not in a call frame? Select one: a. Local variables b. Address of calling...

1.What is not in a call frame?

Select one:

a. Local variables

b. Address of calling method

c. Global variables

d. Argument values

2.What is true about Finally?

Select one:

a. Finally clause is executed only when an exception has been handled.

b. Finally clause is executed when no exceptions are thrown.

c. Finally clause is executed no matter what happens.

d. Finally is mandatory to clean up used resources before a crash takes place.

3.Pass in a matching except

Select one:

a. passes the exception to the next matching except clause in the list of excepts.

b. passes the exception to the calling method.

c. allows to ignore an exception and proceed with the execution of the code.

d. ignores the finally clause.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:

1)  c.  Global variables
2)  c.  Finally clause is executed no matter what happens.
3)  c.  allows to ignore an exception and proceed with the execution of the code.
Add a comment
Know the answer?
Add Answer to:
1.What is not in a call frame? Select one: a. Local variables b. Address of calling...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • What is not in a call frame? cross out Select one: O a. Argument values O...

    What is not in a call frame? cross out Select one: O a. Argument values O b. Global variables cross out O c. Local Varibles cross out O d. Address of calling method cross out Pass in a matching except cross out cross out Select one: 0 a. ignores the finally clause. O b. passes the exception to the calling method. O c. passes the exception to the next matching except clause in the list of excepts. O d. allows...

  • Chapter 08 Python Assignment: Question 1-5 Please I need help in my python course. Question 1...

    Chapter 08 Python Assignment: Question 1-5 Please I need help in my python course. Question 1 The finally clause of a try statement a. can be used to recover from an exception b. is required c. can be used to display more information about an exception d. is executed whether or not an exception has been thrown 10 points Question 2 Which of the following is the correct way to code a try statement that catches any type of exception...

  • Question 1 (5 points) Question 1 Unsaved What is displayed on the console when running the...

    Question 1 (5 points) Question 1 Unsaved What is displayed on the console when running the following program? public class Quiz2B { public static void main(String[] args) { try { System.out.println("Welcome to Java"); int i = 0; int y = 2 / i; System.out.println("Welcome to Java"); } catch (RuntimeException ex) { System.out.println("Welcome to Java"); } finally { System.out.println("End of the block"); } } } Question 1 options: The program displays Welcome to Java two times. The program displays Welcome to...

  • Select the correct answer. (1)     Which of the following will open a file named MyFile.txt and...

    Select the correct answer. (1)     Which of the following will open a file named MyFile.txt and allow you to read data from it?                (a)      File file = new File("MyFile.txt");           (b)      FileWriter inputFile = new FileWriter();           (c)       File file = new File("MyFile.txt");                      FileReader inputFile = new FileReader(file);           (d)      FileWriter inputFile = new FileWriter("MyFile.txt"); (2)     How many times will the following do - while loop be executed?                      int x = 11;             do {             x...

  • (1) The sublayer is responsible for CSMA/CD operation. Select one: a. Logical Link Control (LLC) b. Medium Access Control (MAC) c. Physical Layer Management d. Data Link Layer (2) Carrier Sense M...

    (1) The sublayer is responsible for CSMA/CD operation. Select one: a. Logical Link Control (LLC) b. Medium Access Control (MAC) c. Physical Layer Management d. Data Link Layer (2) Carrier Sense Multiple Access (CSMA) method was developed to increase the of local area networks. Select one: a. collision b. performance d. number of station c. transmission time (3) In Carrier Sense Multiple Access/Collision Detection (CSMA/CD), sending station must detect collisions by "listening" to the medium for at least b. one-way...

  • 1.Given the following: What is accrual-basis expenses? Select one: a. $45 b. $63 c. $55 d....

    1.Given the following: What is accrual-basis expenses? Select one: a. $45 b. $63 c. $55 d. $52 e. $37 2.Venice Corp. maintains its accounting records on the cash basis but restates its financial statements to the accrual method of accounting. Venice had $120,000 in cash-basis pretax income for 2018. The following information pertains to Venice's operations for the years ended December 31, 2018 and 2017: Under the accrual method, what amount of income before taxes should Venice report on its...

  • These are my answere to the following questions: are they right? 1. B 2. T 3....

    These are my answere to the following questions: are they right? 1. B 2. T 3. T 4. T 5. F 6. T 7. A 8. D 9. E 10. B 11. B 12. A 13. A 14. D 15. C 16. D 17. T 18. C 19. T 20. T 21. T 22. A 23. T 24. D 25. B 26. A 27. A 28. A 29. T 30. C 31. D 32. A 33. T 34. F 35....

  • LC-3 Programming Help!! The Stack Protocol The following outline is the protocol for passing arguments to...

    LC-3 Programming Help!! The Stack Protocol The following outline is the protocol for passing arguments to a function and returning values. Everything is stored on the runtime stack so that space is used only when the function is executing. As a result the actual address of arguments and locals may change from call to call. However, the layout of the stack frame (activation record) is constant. Thus, the offests from the frame pointer (FP) to the parameters/locals are constant. All...

  • I have this case study to solve. i want to ask which type of case study...

    I have this case study to solve. i want to ask which type of case study in this like problem, evaluation or decision? if its decision then what are the criterias and all? Stardust Petroleum Sendirian Berhad: how to inculcate the pro-active safety culture? Farzana Quoquab, Nomahaza Mahadi, Taram Satiraksa Wan Abdullah and Jihad Mohammad Coming together is a beginning; keeping together is progress; working together is success. - Henry Ford The beginning Stardust was established in 2013 as a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT