aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr117209/base/src/MyClass_ch16.java
blob: 63f681f29d633d26f543e1a8214cf9275cf17a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class MyClass_ch16
{
        public void foo(int number, String name)
	{
		System.out.println("Inside foo (int, String) with args: " + 
number + ":" + name);
	}

	public static void main(String[] args)
	{
		// Create an instance of MyClass
		MyInterface_ch16 myObject = (MyInterface_ch16)new MyClass_ch16
();
		
		// Make the call to foo
		myObject.bar("Russ");
	}
}