File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes solve this please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Other » Programming Diversions
Reply locked New topic
Author

solve this please

teja dharma
Ranch Hand

Joined: Feb 07, 2009
Posts: 51
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.

SCJP 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41037
    
  43
What was your response? What are your thoughts now that you've had time to think about it?


Ping & DNS - my free Android networking tools app
James Tharakan
Ranch Hand

Joined: Aug 29, 2008
Posts: 580

Why did you post the same question in SCJP also.
CrossPost not appreciated


SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
 
wood burning stoves
 
subject: solve this please
 
Similar Threads
Vector sorting
solve this please
static method not running
User Defined Package Doubts
Depth first search recursive, problem on graph[picture + code]