What is the benefit of calculating an average grade within a Course class using an instance method?Single choice

A

It allows the average grade to be calculated without accessing any student data.

B

It enables the method to be called on any object in the program, regardless of its class.

C

It centralizes the functionality, so changes to the calculation need to be made in only one place.

D

It prevents the class from creating any instances, thus enhancing program security.

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

Similar Questions

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!