Montau Posted March 1, 2010 Share Posted March 1, 2010 1) Whats instance variables are defined in the Card class? What access modifier does each have? Private int value and private string suit. They both use the private access modifier. 2) What is the role of the parameter in the constructor? “Gets called when an object of the card class is instantiated sending a numbber as an argument – it determines the value and uit of the card based upon the number received.” 3) What is displayed as output? Not the value and suit. Why not? Null is displayed because the return for the toString method was null. 4) Why doesn’t the comment include an @ param tag for this method? The toString method has nothing in the parentheses. Quote Link to comment Share on other sites More sharing options...
Zhiv Posted March 1, 2010 Share Posted March 1, 2010 lol...this is a creative way to make 'study notes'... Quote Link to comment Share on other sites More sharing options...
Montau Posted March 2, 2010 Author Share Posted March 2, 2010 Nah I was in class and we had done the sections of the project on different computers but needed to hand it in on one so I figured this would be quicker than emailing and all that crap and also much more accurate. Quote Link to comment Share on other sites More sharing options...
Founder Astrus Posted March 2, 2010 Founder Share Posted March 2, 2010 Nah I was in class and we had done the sections of the project on different computers but needed to hand it in on one so I figured this would be quicker than emailing and all that crap and also much more accurate. 43622[/snapback] roflmao....this is definitely a first Quote Link to comment Share on other sites More sharing options...
Executive Shawkorrr Posted March 2, 2010 Executive Share Posted March 2, 2010 ... montau cheating on a forum? Quote Link to comment Share on other sites More sharing options...
Montau Posted March 3, 2010 Author Share Posted March 3, 2010 Not so much cheating as it is expediting work to be handed in for convenience Quote Link to comment Share on other sites More sharing options...
Zhiv Posted March 3, 2010 Share Posted March 3, 2010 Definitely a first, but I would have just pm'd myself from the forums... hehe Quote Link to comment Share on other sites More sharing options...
Remmington Posted March 3, 2010 Share Posted March 3, 2010 To Do List 1) Go to the grocery store 2) Pick up Kids from School 3) Register Car 4) Wash Car 5) Sweep the Driveway 6) Take out the Trash Like Mont i think im gunna use the website as my personal referencing list of stuff! Ill just use my Iphone when im out to check my To Do List! =) Just foolen with you Mont! Quote Link to comment Share on other sites More sharing options...
Founder Astrus Posted March 4, 2010 Founder Share Posted March 4, 2010 To Do List 1) Go to the grocery store 2) Pick up Kids from School 3) Register Car 4) Wash Car 5) Sweep the Driveway 6) Take out the Trash Like Mont i think im gunna use the website as my personal referencing list of stuff! Ill just use my Iphone when im out to check my To Do List! =) Just foolen with you Mont! 43646[/snapback] lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.