1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
420 B

package bar;
/**
* Just a fruit
*/
public class Banana {
private Double weight;
/**
* Returns weight
*
* @return weight
* @deprecated
*/
public Double getWeight() {
return weight;
}
/**
* Sets weight
*
* @param weight in grams
* @deprecated with message
*/
public void setWeight(Double weight) {
this.weight = weight;
}
}