题海让大学四年没有难题
白天模式登陆

题目详情

单选题 现在有一个Runtime类的对象rt,想要通过代码打开Windows操作系统自带的画图工具,以下哪个代码是正确的

A. rt.exe("notepad.exe")

B. rt.exe("mspaint.exe")

C. rt.exec("notepad.exe")

D. rt.exec("mspaint.exe")

学科:JAVA程序设计

时间:2024-05-16 11:36:06

Copyright © 2022 津ICP备2021001502号