Bookmark Topic Watch Topic
  • New Topic

Hi ranches..

 
malcolm basson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
create a class which has a constructor that takes arguments of string and int,the class must contain a method that prints out the value 1-10 using any of the statement,the method must be overridden in the subclass the constructor must add the string and the int can anyone please help.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Malcom,
Please see Fred's post here:
http://www.coderanch.com/t/3416/Ranch-Office/SWITCH-CODE

Also "ranches" is the plural form of Ranch (farm).
Your subject is basically saying "Hello farms".
I think the word you're looking for is "ranchers" (note the 'r').

In any case, this is not a good subject line in a technical forum.
Please read:
http://faq.javaranch.com/java/UseAMeaningfulSubjectLine
[ April 04, 2008: Message edited by: Ben Souther ]
 
    Bookmark Topic Watch Topic
  • New Topic