Created
June 17, 2017 15:15
-
-
Save BalicantaYao/029dba92bd1c6eea66dd2dcdd4b89eb1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Excperf { | |
public void method1(int size){ | |
int [] ia = new int[size]; | |
try{ | |
for (int i = 0;i<size ; i++){ | |
ia[i] = i; | |
} | |
} catch (Exception e){ | |
} | |
} | |
public void method2(int size){ | |
int [] ia = new int[size]; | |
for (int i = 0;i<size ; i++){ | |
try{ | |
ia[i] = i; | |
} catch (Exception e){ | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment