Skip to content

Instantly share code, notes, and snippets.

@arwagner
Last active November 13, 2015 01:50
Show Gist options
  • Save arwagner/61d90d34f0bb3904dd17 to your computer and use it in GitHub Desktop.
Save arwagner/61d90d34f0bb3904dd17 to your computer and use it in GitHub Desktop.
void printOwning(double amount) {
printBanner();
//print details
System.out.println("name:" + _name);
System.out.println("amount:" + amount);
}
///////////////////////////
void printOwning(double amount){
printBanner();
printDetails(amount);
}
void printDetails(double amount){
System.out.println("name:" + _name);
System.out.println("amount" + amount);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment