Skip to content

Commit

Permalink
Update Main.java (#209)
Browse files Browse the repository at this point in the history
Update Main.java (#209)
  • Loading branch information
DieselNiu authored Dec 19, 2020
1 parent 1a7d440 commit 9f57ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/github/hcsp/objectbasic/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class Main {
public static void main(String[] args) {
// 现在被选中的方法是print(int),请强制令其选中方法print(Number i)
print(1);
print((Number) 1);
}

public static void print(int i) {
Expand Down

0 comments on commit 9f57ecb

Please sign in to comment.