Method showInputDialog returns __________.

a) the value in the dialog’s JTextField
b) true if the value entered is greater than0, false otherwise
c) nothing
d) 0 if the user clicked the OK JButton, 1 otherwise

a) the value in the dialog’s JTextField

Computer Science & Information Technology

You might also like to view...

Stream method ________ maps objects to double values and returns a DoubleStream. The method receives an object that implements the functional interface ToDoubleFunction (package java.util.function).

a. doubleMap b. toDouble c. mapToDouble d. toDoubleStream

Computer Science & Information Technology

A collection of worksheets is sometimes called a _____.

A. worksheet collection B. 3D worksheet collection C. 2D workbook D. 3D workbook

Computer Science & Information Technology