Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Test 21) What is Math.ceil(3.6)? 21) A) 3 B) 3.0 C) 4.0 D) 5.0 4 22) ________ is to implement one method in the

Java Test

21) What is Math.ceil(3.6)?

21) A) 3 B) 3.0 C) 4.0 D) 5.0 4

22) ________ is to implement one method in the structure chart at a time from the top to the bottom.

22) A) Bottom-up and top-down approach B) Top-down approach C) Stepwise refinement D) Bottom-up approach

23) What is the output of the following program? import java.util.Date; public class Test { public static void main(String[ ] args) { Date date = new Date(1234567); m1(date); System.out.print(date.getTime() + " "); m2(date); System.out.println(date.getTime()); } public static void m1(Date date) { date = new Date(7654321); } public static void m2(Date date) { date.setTime(7654321); } }

23) A) 7654321 1234567 B) 1234567 7654321 C) 1234567 1234567 D) 7654321 7654321

24) Which of the following statement is most accurate? (Choose all that apply.)

24) A) An object may contain other objects. B) A reference variable refers to an object. C) An object may contain the references of other objects. D) A reference variable is an object.

25) How many JFrame objects can you create and how many can you display?

25) A) three B) one C) two D) unlimited

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

91 Risk management techniques.

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago