Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I'm taking java programming class. Please help me out Thanks in advnace :) Problem 4 (4 points): Fill in the blanks in the following questions.
I'm taking java programming class. Please help me out
Thanks in advnace :)
Problem 4 (4 points): Fill in the blanks in the following questions. Please write your answers on the ANSWER SHEET 1) Composition gives us a(n) relationship while inheritance gives us a(n) relationship pick from has-a or is-a to fill in the blanks) 2) A 3) What is the default initial value of an instance variable that is defined as a boolean? class cannot have any subclasses. 4) What is the default initial value of an instance variable that is defined as an object reference? 5) What is the default initial value of an instance variable that is defined as a double? 6) What is the default initial value of a local variable that is defined as an int? 7) To save and quit vim, what command should you type? Make sure you include : if needed. 8) True or false: Polymorphism is based on the scenario when we use a super class reference to refer to a sub class objectStep 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