Answer:
Constructor issue
Step-by-step explanation:
When you look at the Class A, the constructor takes one argument as a parameter, a String.
A(String newS) {
s = newS;
}
However, in the main, the constructor does not take any argument as a parameter.
A a = new A();
That's why the code does not compile.