• Post Reply Bookmark Topic Watch Topic
  • New Topic

inherited stream  RSS feed

 
sara salem
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi every one,
I have creating a writing file then two reading file to read two differnt thing from writing file in superclass .but now I have problem in adding a method in a each subclass to specity the type object being created from reading file all I know that this method have a parametr type String (fileName) and it must use both reading file methods to pass thier return (strings) to the constructor for the class.also it clear to me that I want to specify the type of object (from which subclass)I am thinking do I have to use static method I am waiting for your helps

sara
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!