Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Round-up Game #105  RSS feed

 
Steve Gass
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings, I'm enjoying working through your practice exams. This question asks if int x[] = {2,7,4,9); is legal. AFAIK a curly brace can't be closed by a paren, which would mean that it isn't legal.

Steve
 
Steve Gass
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, it seems that all closing braces are being rendered as parens on my system, so my report probably isn't accurate. Sorry.

Steve
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!