Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rapper

 
Netty poestel
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Dan sez:-false, coz;-"The Double constructor is overloaded: one accepts an argument of type primitive double; the other accepts an argument of type String"

I can't see how the "the other accepts an argument of type String"
string is always accepted in "".
so where did I trip this time ?
TIA
 
Netty poestel
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pl. cancel this one.!
I got it.
sorry.
 
Udaya Raj
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there would be a compilation error. I am wondering how the answer could be false.
 
Netty poestel
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Mistake..
It's me...again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic