Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package tutorial;
- public class Overloadingex {
- static int bbideal (int tb, int n){return tb-n;}
- static double bbideal (double tb, double n){return tb-n;}
- public static void main(String[] args) {
- System.out.println(Overloadingex.bbideal(170, 110));
- System.out.println(Overloadingex.bbideal(172.5, 110));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement