public class Temp3 {
public void Method1 () {
for (int i = 0; i < 30000; i++) {
System.out.print("");
}
}
public void Method2 () {
for (int i = 0; i < 20000; i++) {
System.out.print("");
}
}
// if my whole code will take 60mb memory at run time then how much memory those methods take while execution-.......this is the question