class TestServlet extends HttpServlet{
}

Is it allowed to do

TestServlet ts = new TestServlet()