how cani read a command line argument?(usingfile object).
Answers were Sorted based on User's Feedback
Answer / subrahmanyam
You can get Command line arguments as Strings only. You
have to take file name as String and create a FILE object
with filename you read .
| Is This Answer Correct ? | 0 Yes | 0 No |
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
Can we have any code between try and catch blocks?
How do singleton patterns work?
what is the use of finalize()Method please explain with an example
What is compiler and what its output.
Is java hard to learn?
What is == in java?
What is data type example?
Is java supports multiple inheritance? explain?
What is string in java with example?
Highest level event class of the event-delegation model?
For technical interview question please sir send me because tomorrow my interview