01: package test6;
02:
03: public class CCTest6iv {
04:
05: public static void main(String[] args) {
06: CCTest6 t = new CCTest6();
07:
08: t.test("Hello", "Hello", "Hello"); //Check the signature of the test method.
09: }
10:
11: public void test(String permanent, String... variable) {
12: permanent.indexOf("Hello"); //Check the methods provided after the first dot.
13:
14: int dummy = variable.length; //Check that after the dot the CC is equal to CC content for an array.
15:
16: }
17: }
|