Create a new project TMA01 in NetBeans and copy the followingprogram into a new Java source file.
public method Q1PartA {
public void main(String[] args) {
System.out.println(‘a string”);
}
}
(i) Amend the program to correct the errors indicated by theerror messages until there are no more syntax errors.
(ii) Run the program. Is there any error? If yes, copy and pastethe error message into your answer file. What mistake has beenmade? Do the steps until all errors are removed.
Expert Answer
An answer will be send to you shortly. . . . .