View Single Post
Old 12-12-2005, 02:12 PM  
Kard63
Confirmed User
 
Kard63's Avatar
 
Join Date: Nov 2003
Location: 237 619 975
Posts: 8,944
Hmm I smell 50 out of 50 on my final lol. Wanna do the only other one I'm unsure about?

Assume that a method is going to return a null value to the code that calls it, and will have two parameters of type int. Which of the following best represents how the method should be constructed?
A. public void MethodName(int param1, int param2) {...}
B. MethodName public void (param1, param2) {...}
C. public void MethodName() {int param1, int param2}
D. public void MethodName int (param1, param2) {...}
E. None of the above is correct


I think its C because it doesnt have anything in the () and it said " return a null value" so that seems inline with that. What do you know lol ?
__________________
Kard63 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote