Added 25 solutions

This commit is contained in:
rshaghoulian
2017-02-24 00:24:47 -06:00
parent 05ce4b1476
commit af8c2969a4
50 changed files with 1562 additions and 277 deletions
@@ -24,12 +24,13 @@ public class Solution {
for (Method method : Printer.class.getDeclaredMethods()) {
String name = method.getName();
if(name.equals("printArray"))
if (name.equals("printArray")) {
count++;
}
}
if(count > 1)System.out.println("Method overloading is not allowed!");
if (count > 1) {
System.out.println("Method overloading is not allowed!");
}
}
}