1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Evgesh-ka [11]
4 years ago
12

Consider the following partial class definitions: public class A1 { public int x; private int y; protected int z; ... } public c

lass A2 extends A1 { protected int a; private int b; ... } public class A3 extends A2 { private int q; ... } Which of the following is true regarding the use of instance data y of class A1?
Computers and Technology
1 answer:
kaheart [24]4 years ago
6 0

Answer:

The answer to the given question is "It's only accessible in A1".  

Explanation:

  • In the given class definition question there are three classes defines that are A1, A2, and A3 and all the class uses the public access modifier that means it is access able every where in the program.  
  • In class A1 we define a three-variable that is "x, y, and z" in which variable x is used public access modifier, variable y is used private access modifier, and variable z is use protected access modifier.
  • The public access modifier is access able every wherein the program and the protected access modifier is access able in the same class and the class which inherits it. but the private access modifier can not be access able outside the class.

That's why the answer "It's only accessible in A1" is correct.    

You might be interested in
An important strategy in survey design involves the use of terms, phrases, and words that are known to both the PI team and resp
V125BC [204]

Answer:

Operational Definition

Explanation:

We can refer to operational definition as a set of wordings that refers to a detailed explanation of the technical terms and measurements.

Operational Definition is the use of terms, phrases, and words in a particular field of knowledge with the definitions for those terms.

It allows the involved personnel to describe things and communicate in a specific way what they mean when they use a certain term which a novice of that profession may find difficult to understand.

6 0
4 years ago
If a given router can connect to at most k networks, how many routers, r, are required to connect n networks? write an equation
Soloha48 [4]
Routers<span> select a path for traffic in a network, or between or across multiple networks.</span><span>
If a given router can connect to at most k networks </span>R=N/(K-1) +1 routers are required to connect N networks.

8 0
4 years ago
What is the name of the table tools contextual tab that appears once you insert a table?
Maksim231197 [3]

In MS-word the table tools is used. In open MS-word document end user has insert table and select no rows and columns.

<u>Explanation:</u>

Once end user inserted the table, layout in design has to be fixed. Insert table can also use in MS- PowerPoint presentation also.

Same away it is also possible in MS-excel also.

Contextual tab:- it is special types which is available in MS—word or MS-excel or PowerPoint. It is applied or selected from ribbon tab.

Contextual tab is used to insert images or formatting the data in insert table.

4 0
3 years ago
Read 2 more answers
What are the core components of a computer system?
Fantom [35]
CPU GPU harddrive ram
6 0
3 years ago
Brainliest for correct answer
SashulF [63]

Answer: A

Explanation: Been asked before.

6 0
3 years ago
Read 2 more answers
Other questions:
  • The different between a compiler and a translaror
    9·2 answers
  • A(n) ____ is a system designed to handle only very basic applications with an absolute minimum amount of hardware required by th
    9·1 answer
  • How does a main program recieve info from a function in c++?
    6·1 answer
  • How globalization is related to communication technology?
    6·1 answer
  • By using the internet, your company can obtain discounts thorugh...
    15·2 answers
  • What Is The Oldest Known Analog Computer In The World?
    14·1 answer
  • Business conducted using the internet
    9·1 answer
  • What is the lower House​
    7·1 answer
  • Describe how to create a new folder on the desktop​
    12·2 answers
  • Question 2:
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!