<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">// this_iv2_blanks

class Person {
    private String name;
    private Person friend;

    // constructor
    public Person(String name) {

	____________ = __________ ; 

    }

    // set Person's name
    public String get_name() {

	return __________ ;

    }
    
    // return name of current Person's friend
    public String get_friendName() {

	return __________________ ; 

    }
    
    public void make_friends(Person p) {

	____________ = _____________ ;

	____________ = _____________ ;

    }
}

public class this_iv2_blanks {
    
    public static void main(String[] args) {
	
	Person a = new Person("Borgir");
	Person b = new Person("Dimmu");

	a.make_friends(b);

	System.out.println(a.get_friendName());
	System.out.println(b.get_friendName());

    }

}
	
/* Ouput:
Dimmu
Borgir
*/
</pre></body></html>