Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Argument problem  RSS feed

 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

See the below coding..
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not the code you are trying to compile, is it? Because this:

isn't going to work. Nor is this:


But I think what you wan't to know is why when you try to initialize a String array like this:

it doesn't work. What you need to do it this:

[ December 21, 2006: Message edited by: Paul Sturrock ]
 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly given & explained what I need..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!