CCTest7ai.java :  » IDE-Netbeans » java » test7 » Java Open Source

Java Open Source » IDE Netbeans » java 
java » test7 » CCTest7ai.java
package test7;

public class CCTest7ai {
    
    public void test(String permanent, String ... variable) {

  

  

    }

    public static void testStatic(String permanent, String ... variable) {
        permanent.indexOf("Hello"); //Check the methods provided after the first dot.
  
  int dummy = variable.length; //Check that after the dot the CC is equal to CC content for an array.
  
  variable[0].indexOf("Hello"); //Check the CC after the dot. It should match the CC for String.
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.