i am confuse about
paint() method in applet .The confusion is that paint method is getting object as parameter of Graphics class like this
public void paint(Graphics g) and i read that the Graphics class is an abstract class then how we create object of Graphics class and
now you will say that g in Graphics g is reference not actual object and we can create reference of abstract class i know this but g is a reference not object then how can we call a class member with reference object same like this
this is out of my senseif that is possible then write a very simple code in which a method get object as parameters of abstract class and call the method of abstract class please help me about this my english is very poor but i hope i completely explain my problem.