Java Question About Overloaded Methods
Given the following method: |
public void count(int number) {} |
which of the methods below are overloaded methods? (select all that apply) |
A. public int count(int a) {} B. public void count(int a, int b) {} C. public void count(int door) {System.exit(0);} D. public void count(float door) {} E. public void count(double d, boolean b) |
Bookmark:
Search for code examples on this site
