public class Myself {
public static void main(String[] args){
System.out.println("Whatever you speak ,you select it!");
System.out.println(makeDecision(makeItByGod()));
//my decision is this
new Heart().hideMySecret(makeDecision(false));
}
public static String makeDecision(boolean isSpeakToHer){
if(isSpeakToHer == true){
return "Maybe we won't see or i don't know what will happen!";
}else{
return "Maybe it's my secret for ever! ";
}
}
public static boolean makeItByGod(){ //help you to make a decision
if(Math.random() > 0.5d){
return true;
}else
return false;
}
}
class Heart{
private String mySecret;
public void hideMySecret(String decision){
mySecret = decision;
}
}