package ch.ntb.inf.deep.testClasses;

public class T08Calls {
	
	public static int classMethCall(){
		int y = 0;
		int x = classMethod(3);
		y = 2;
		
		return y+x;		
	}
	
	public static int objectMethCall(){
		T08Calls call = new T08Calls();
		return call.objectMethod(9);
	}
	
	public static void callToAnotherClass(){
		T01SimpleMethods.emptyMethodStatic();
	}
	
	
	/*
	 * Helper class
	 */
	public static int classMethod(int param){
		int x = 0;
		for(int i = 0; i < param; i++){
			x = x+3;
		}
		return x;		
	}
	/*
	 * Helper class
	 */
	public int objectMethod(int param){
		return param % 2;		
	}

}

@@ -391,37 +391,38 @@
 %09/*%0D%0A%09 * Helper 
-class
+method
 %0D%0A%09 */%0D%0A%09public 
@@ -559,21 +559,22 @@
  Helper 
-class
+method
 %0D%0A%09 */%0D%0A

change comment