Quiz
Why registers are not included in JVM’s specification?
Does the method area need to be garbage collected?
What is most likely to get printed if we execute run() ?
int x=0; byte[] b=new byte[5];
Employee e=new Employee();
System.out.println(“x: ”+x+” b[0]:”+b[0]+” Employee:”+e.getName()+“ String:”+s);
public static void my_method(int x, byte[] b, Employee e, String s) {
x=5; b[0]=5;e.setName(“Thanassis”);s=s+”5”;