public class Stock {
  String symbol;
  String name;
  double previousClosingPrice;
  double currentPrice;

  Stock(String symbol, String name) {
    this.symbol = symbol;
    this.name = name;
  }

  double getChangePercent() {
    double change = currentPrice - previousClosingPrice;
    return (change / previousClosingPrice) * 100.0;
  }
}

@@ -16,16 +16,23 @@
 ock %7B%0A  
+public 
 String s
@@ -40,16 +40,23 @@
 mbol;%0A  
+public 
 String n
@@ -58,24 +58,31 @@
 ing name;%0A  
+public 
 double previ
@@ -100,16 +100,23 @@
 rice;%0A  
+public 
 double c
@@ -131,16 +131,23 @@
 ice;%0A%0A  
+public 
 Stock(St
@@ -229,16 +229,23 @@
 %0A  %7D%0A%0A  
+public 
 double g

Add visibility modifiers