Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(13) ) Java language is and it can implement from A. single inheritance, multiple interfaces B. multiple inheritance, multiple interfaces C. multiple inheritance, single interface
(13) ) Java language is and it can implement from A. single inheritance, multiple interfaces B. multiple inheritance, multiple interfaces C. multiple inheritance, single interface D. single inheritance, single interface (14) We define members only can be accessed by the class members inside the class scope, and cannot access by the other class's members. A. public B. private C. protected D. package access (15) When does Java know an object is no longer needed? And what happens to an unneeded object's storage? A. If there are no references to the object, Java knows the object is no longer needed and automatically returns its memory to the memory pool. B. If there are no references to the object, Java marks it as no longer needed; the memory stays in use until the programmer explicitly returns it to the memory pool. C. Objects, once constructed, stay active until the program terminates, so though the programmer may know an object is it no longer needed, Java does not know this; objects' memory is returned to the memory pool when the program terminates. D. Objects, once constructed, stay active until the method in which they were constructed terminates, so though the programmer may know an object is no longer needed, Java does not know this; objects' memory is returned to the memory pool when the method terminates
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started