Question: java List and Identify how many local variables are there in the below class class subject { private String sub; private int marks; private double
javaList and Identify how many local variables are there in the below class class subject { private String sub; private int marks; private double average; public subject() { sub = "Physics"; marks = 60; I average = 79.5; int x = 20; double y = 30; 3 public void change(String a) { intza 10; sub = a; 3 public String displayO{ int w= 5; return sub
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
