create a report that displays back tge total sales by country
Answer:
Instance variables can be declared anywhere inside a class.
Although there isn't any rule to declare instance variables before methods, and they can be declared anywhere in the class, they cannot be declared inside method definitions of class.
///////////////////////////////////////////////////////////////////////////////////////////////////////////
<em>By convention class names begin with an uppercase letter, and method and variable names begin with a lowercase letter.</em> - True.
<em>Instance variables exist before methods are called on an object, while the methods are executing and after the methods complete execution.</em> - True.
<em>A class normally contains one or more methods that manipulate the instance variables that belong to particular objects of the class.</em> - True
Practise, my friend. Parctice.
Answer:
To ensure that it's not using memory and taking up precious processing power.
Explanation:
Therefore, less programme running the more efficient and quicker the computer is as it can dedicate more ram and processing power to your current application.