Question: n the Java code below, what type of variable is z ? _ _ _ _ _ _ _ _ _ _ _ _ _
n the Java code below, what type of variable is z
public class MyTestClass
int x ;
int y ;
private void DoSomethingMethodOneint apple
int z ;
x x ;
System.out.printlnx;
System.out.printlny;
DoSomethingMethodtwox;
DoSomethingMethodOne
public MyTestClass
x ;
System.out.printlnx;
System.out.printlny;
DoSomethingMethodOne;
MyTestClass method
public static void mainString args
TODO Autogenerated method stub
int x ;
System.out.printlnx;
MyTestClass example new MyTestClass;
main
MyTestClass
Group of answer choices
A local variable
An instance variable
a floating point number
A parameter
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
