Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

class  RSS feed

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hello to everry one
this is conversion of text from 1 format to anohter for this i want to create two classes to define two different types of object (files). Each object has HEADER which should contains following fields
Creation date
Each class will have a style list that contains the list of styles. This list is compared at the time of conversion and if equal styles are detected then converted else warning is displayed.

Each class will have the function to print the text in its own specific style
Each class should have FileConverter method which convert one type of object to another(the object to be converted is passed as an argument).
either give me some key points that can help me to do so
or some reference from where i can get the explanation of syntax used in these types of problem.
its urgent if any body concern i will b greatful.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!