File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Java.lang.Runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Java.lang.Runtime" Watch "Java.lang.Runtime" New topic
Author

Java.lang.Runtime

shri Sonparote
Ranch Hand

Joined: May 07, 2007
Posts: 30
Hi all I have one question.
Which one of the following operations is NOT supported by java.lang.Runtime?

a) Execute native operating system commands.

b) Dynamically unload Class files.

I am little bit confuse about this
We have exec method in this class so that we can execute programme like notepad ,calculator etc

and we have runfinalization for any objects pending finalization.

so what may be the answer for this question?
Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1707
Is this a SCJP question? java.lang.Runtime is not on SCJP objective list.
You may get your answer in Beginner Forum.

Thanks,


cmbhatt
Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1707
Here you can find detail about java.lang.Runtime

java.lang.Runtime



Thanks,
shri Sonparote
Ranch Hand

Joined: May 07, 2007
Posts: 30
I am new to this forum .
I got this question from one of online java fundamental mock exam .
Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java.lang.Runtime