Can objects of a different class (in a different file) directly access private fields?

What will be an ideal response?


No, private fields can only be directly accessed by code in the same file as the class.

Computer Science & Information Technology

You might also like to view...

The command to display all the single capital letter filenames is

a: ls A ... Z b: ls [A Z] c: ls [AZ] d: display [A Z] e: filename = [A Z]

Computer Science & Information Technology

You can use ________ to view and edit documents on an Android tablet

A) Kingsoft Office B) Quickoffice Pro C) Microsoft Office 2013 D) Documents To Go

Computer Science & Information Technology

Filters dynamically update the current view of the project as the project is modified.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A soldering iron is one of the most common tools used by technicians

Indicate whether the statement is true or false

Computer Science & Information Technology