Why is the find method, used by the remove and the contains operations, declared with private visibility?
What will be an ideal response?
The remove and the contains operations are implemented with methods that have public visibility, as their
operations are part of the list interface. The find method is used by remove and contains, but it is not part of the list interface.
For this reason, it has private visibility and is not available for use by a list collection user directly.
Computer Science & Information Technology
You might also like to view...
By default, themes are stored in the ________ folder
A) Picture B) Templates C) Theme D) Documents
Computer Science & Information Technology
A(n) ________ is an interactive table which uses calculations to consolidate and summarize information
A) range B) list C) PivotTable D) Table
Computer Science & Information Technology