Answer:
Option 2 i.e., instance methods is the correct answer to the following question.
Explanation:
Because the instance method or function is the function that needed the class object to be called.
<u>For Example:</u>
//header file
#include <iostream>
using namespace std;
//define class
class Test
{
public:
//instance method
void getins()
{
cout<<"I AM Instance method";
}
};
int main()
{
//creating object
Test obj;
//calling of instance method through class object
obj.getins();
}
<u>Output</u>:
I AM Instance method
Answer:
I can :) just comment lol
True, the computer will read from, say, a blu-ray and then transfer it to your RAM to before writing it to your hard drive and then, through the various other wonders of computers, it can be displayed on your monitor.
Are actors and athletes paid too much?
total = 0
i = 0
while i < 10:
temp = float(input("Enter Temperature: "))
total += temp
i += 1
print("Sum =", str(total))
I hope this helps!