Explanation : A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server. It is correct statement. A Java servlet can't be use interfaces classes like AWT or Swing only first statement is correct. So, option (A) is correct.