Correct Question:
Public class N extends String, Integer { } When you compile, you get the following message: N.java:1: ‘{‘ expected public class N extends String, Integer ^ 1 error Explain what the problem is and how to fix it.
Note the capital letter P
Answer and Explanation:
Problem: This is a syntax error, the key word "public" should begin with a small letter and not capital letter.
How to fix: Replace the capital letter P by small letter p and recompile.
All of them are available
You should place your javascript in a separate file and name it appropriately, e.g. script.js.
Then you should call for your script using the HTML:
<script src="script.js" type="text/javascript"<span>></script></span>