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

solve this please

 
teja dharma
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Report post to moderator
In one of my recent interviews i appeared, they asked a question like this.
when you run" java filename n1 n2 n3 n4" here n1,n2 are integers. n3,n4 are floats.
you must get the output as result of (n1/n2) ,(n3/n4) .
please frame a programme which satisfies the above question.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
What was your response? What are your thoughts now that you've had time to think about it?
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why did you post the same question in SCJP also.
CrossPost not appreciated
 
    Bookmark Topic Watch Topic
  • New Topic