Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

16. Suppose a Colleague's app you encounter: compare(greenFrog, RedFrog); Which is most likely being used: a. Comparable b. Comparable c. Comparator d. Comparator e. both

16. Suppose a Colleague's app you encounter: compare(greenFrog, RedFrog); Which is most likely being used:

a. Comparable

b. Comparable

c. Comparator

d. Comparator

e. both a & b

f. both c & d

17. Which is a valid way to compare two frog objects, refernced by frog1 and frog2?

a. frog1.compare(frog2)

b. frog1.compareTo(frog2)

c. frog1.compare(frog2)

d. frog1.compareTo(frog2)

e.both a & b

f. both c & d

20. to enhance app security, we keep private _______ variables hidden from external access.

a. static

b. protected

c. package

d. constant

e. abstract

f. refrence

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

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions