{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


Recommendation - = rating m_average = average m_weight =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.io.*; import java.lang.Math; public class Recommendation { private double m_rating; private double m_average; private double m_weight; public Recommendation(double rating, double average, double weight) { m_rating
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: = rating; m_average = average; m_weight = weight; } public double getRating() { return m_rating; } public double getAverage() { return m_average; } public double getWeight() { return m_weight; } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online