This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class" Watch "class" New topic
Author

class

SAIMA RAFI
Greenhorn

Joined: Jul 06, 2001
Posts: 6

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
Size
Title
Author
Creation date
Text
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.
saima
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: class
 
Similar Threads
Overloading across classes
Override issue
reference to method1 is ambiguous ..... java can't decide whic one to call.
my notes on JLS for any1 who needs them !!
AutoBoxing Doubt