Search This Blog

Thursday, November 4, 2010

Questions for java revision. post your answers here

1. what is the difference between an abstract class and an interface

2. What is polymorphism

3. Describe how you can draw an oval, a line and a square in a jpanel.write a sample code

4. what are restrictions of an Applet.

2 comments:

  1. i think an interface only contains abstract methods and constants. while an abstract classes contains abstract methods and contants but some of the methods are well defined

    ReplyDelete
  2. great site but it needs more updates and links. make it more educational

    ReplyDelete