Answer:
For 1), you should also add that methods in C++ are called member functions. Thus, the difference between functions and methods in this context is analogous to the difference between functions and member functions in C++. Furthermore, languages like Java only have methods. In this case, functions would be analogous to static methods and methods would have the same meaning. For 2), you should add that a method is able to operate on the private instance (member) data declared as part of the class. Any code can access public instance data.
A function is a mathematical construct. I would say all methods are functions but not all functions are methods
Explanation:
No. The computer dose not understand what you are attempting to do, therefore it will not understand how to check for logic errors. The compiler will only check for syntax errors.
Answer:B.They are the same thing - there is not difference.
Explanation:
Answer:
I’m assuming it’s a phone
Explanation:
I think it might be 6 to 5 hours but probably a lot more time depending on the person or age. I am guessing, but I think it could really depend on the persons parents or how much they have to be on their own phone.
Answer:
0.375145
A megabyte is a byte divided by 10^6