logo

Crowdly

Browser

Add to Chrome

A Java class, Database , contains a public method called  printStatistics ,...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

A Java class, Database, contains a public method called printStatistics, which outputs statistical information related to that database. The printStatistics method calls another helper method, calculateMean, which is only ever used in this context - it is never called from outside the Database class.

Declaring the calculateMean method with the public access modifier would be bad program design, as it is an example of...

More questions like this

Want instant access to all verified answers on learning.monash.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome