Answer:
an instance variable is a variable that is within a class but it is outside of constructors, methods or blocks.
the instance variables for the class bankAccount can be accountNumber, account holder name and balance.
below are the types and names declared to hold the information.
private string accountHolderName;
private int accountNumber;
private double balance;
note:
accountHolderName is a string data type because names are in alphabets.
accountNumber is an integer since they are in numbers.
balance is a double data type because it is a floating point number.
Answer:
1. C) Embedded Style
2. C) User Agent Style
Explanation:
1. Alex will use Embedded style to create styles that apply only to the HTML document that the style was created. With Embedded styling; the rules can be embedded into the HTML document using the <style> element.
2. Since Alex has forgotten to give any style for all of his pages, the style that will be applied to his pages is User Agent Style. User Agent Style is the default style of a browser. The browser has a basic style sheet that gives a default style to any document and this style is called User Agent.
Answer:
Try and do number = 7
If that does not work then I dont know what to tell you.
Explanation: