What is the difference between a service method and a support method in a class definition?

What will be an ideal response?


A service method is used to access or modify the data values of an object. They generally have public
visibility. Support methods are designed to be used by service methods to support the tasks that the service methods perform.
Support methods generally have private visibility.

Computer Science & Information Technology

You might also like to view...

Collections method __________ returns true if two Collections have no elements in common.

a. shuffle. b. contains. c. hasCommon. d. disjoint.

Computer Science & Information Technology

The time complexity of counting sort is unusual because:

A. it does not depend on the number of elements B. it depends only upon the range of element values C. it can be better than O( n ) D. it depends on two factors: the number of elements and the range of element values

Computer Science & Information Technology

Form data sent to the server as shown in the accompanying figure is stored electronically in a ____.

A. script B. network C. browser D. database

Computer Science & Information Technology

A ____ variable can hold letters of the alphabet and other special characters such as punctuation marks.

A. character B. numeric C. string D. alphabetic

Computer Science & Information Technology