public class love{
public void marryme(string a, string b){
if(refuse(a,b)){
a = null;
b=null;
}else{
system.out.println("yes, i do!");}
}
public static void main(string [] args){
love love=new love();
while(args.size()==2){
love.marryme(args[0],args[1]);
}}}
cmd:
javac love.java
java love
yes, i do!