-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.java
More file actions
32 lines (23 loc) · 474 Bytes
/
Test.java
File metadata and controls
32 lines (23 loc) · 474 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Test
{
public void m1(int a){
System.out.println("integer argument");
}
public void m1(float a){
System.out.println("float argument");
}
public void m2(String a){
System.out.println("String version");
}
public void m2(StringBuffer b){
System.out.println("String buffer");
}
public void m3(int a){
}
public static void main(String[] args)
{
Test t = new Test();
t.m1('a');
t.m2("abc");
}
}