how cani read a command line argument?(usingfile object).

Answer Posted / ravikiran

new InputStreamReader(System.in);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘is-a ‘ relationship in java?

676


What is a class variable?

683


Can one thread block the other thread?

689


What is the purpose of assert keyword used in jdk1.4.x?

658


Do we need to manually write Copy Constructor?

684






What is regex java?

665


What exactly is java?

602


what is static import in java? Explain

666


Can a final variable be manipulated in java?

623


What is garbage collection? What is the process that is responsible for doing that in java?

755


What is java and their uses?

634


What is the difference between choice and list?

687


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

743


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

670


What is the difference between exception and error in java?

578