dcsimg
Object-oriented inheritance
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   king_hw
Posted On:   Wednesday, August 8, 2001 07:07 PM

if i create a string object eg.
String s = new String("JAVA");
how many object did i created. did i create an object from the base class as well?

Re: Object-oriented inheritance

Posted By:   sanjay_pai  
Posted On:   Wednesday, August 8, 2001 08:36 PM

No. Only one object (String object) is created.

Sanjay
About | Sitemap | Contact