Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Certify test answer ambiguity

 
Gilbert Baron
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a question
public static void main (String[] fred)
which I see you were trying to test that any name can be used for the argument. You left out the semicolon so I marked it wrong.
You may want to indicate that you can ingnore such things in the instructions.
I think it is true that a better answer for the question about catching an exception with a superclass parameter of the thrower would be that it is ok since all exceptions descend from throwable and therefore it is still a subclass of the thrown exception.
------------------
"Hierro candente, batir de repente"
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Err... who is this addressed to? Are you talking about one of the questions in the Java Rules Roundup? Or some other source of questions?
 
Gilbert Baron
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Yingst:
Err... who is this addressed to? Are you talking about one of the questions in the Java Rules Roundup? Or some other source of questions?


I am talking of the questions in the Roundup. There is no direct link there for feedback so I assumed posting it here was my only option.

------------------
"Hierro candente, batir de repente"
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah. That's for Paul then. I'll move this to the "Java Ranch" topic to be sure he sees it (and since it's not actually for certification.)
Paul- I guess "please mosey over to the Big Moose Saloon and let us know of any problems" is a bit vague, now that the site has grown. I assume Rules Roundup feedback should go to the Java Ranch topic, right?
 
paul wheaton
Trailboss
Pie
Posts: 21505
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving Rules Roundup stuff here is fine.
So! I'm trying to understand the question. The roundup game has a question with "fred" in it and it needs a semicolon? Right now my ftp access is down so I can't check into it. Can you give me any more text so I can make sure I find the right one?
 
Gilbert Baron
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no error. I went back and looked at it again. I thought there was a statement inside the bracket with no semi but there is not so it is ok. Sorry for all the mess. :-)
Originally posted by Paul Wheaton:
Moving Rules Roundup stuff here is fine.
So! I'm trying to understand the question. The roundup game has a question with "fred" in it and it needs a semicolon? Right now my ftp access is down so I can't check into it. Can you give me any more text so I can make sure I find the right one?


------------------
"Hierro candente, batir de repente"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic