Skip to content

Instantly share code, notes, and snippets.

@joshskeen
Created May 6, 2011 20:04
Show Gist options
  • Save joshskeen/959680 to your computer and use it in GitHub Desktop.
Save joshskeen/959680 to your computer and use it in GitHub Desktop.
brainTeaser
public class Frodo extends Hobbit{
public void main(String[] args){
countGold(6, 7);
}
}
class Hobbit{
int countGold(int x, int y){
return x+y;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment