Creating setter method for multiple parameters

I am trying to write setter method for 2 parameters and need help.
My code:

private String fname_box;
private String lname_box;

This is the getter method;

public Rect getPoorQualityBoundingBox() {
return Rect.fromArray(LTRBUtil.unionLTRB(lname_box, fname_box));
}


public Rect getPoorQualityBoundingBox(String fname_box, String lname_box) {

How do I set fname_box and lname_box here?

}
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories