subject

Consider the following code:

public class b1
{
private int i;
private int j;

}
public class b2 extends b1
{
private int m;
private int n;

}
public class b3 extends b2
{
private int z;

}

which of the following sets of instance variables are directly accessible in class b2? (2 points)

1) i, j, m, n, z
2) i, j, m, n
3) i, m, n
4) m, n
5) z

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Could you find out how im still getting an 83 percent on this in edhesive a = input("enter an animal: ") s = input ("enter a sound: ") e = "e-i-e-i-o" print ("old macdonald had a farm, " + e) print ("and on his farm he had a " + a + "," + e) print ("with a " + s + "-" + s + " here and a " + s + "-" + s + " there") print ("here a " + s+ " there a " + s) print ("everywhere a " + s + "-" + s ) print ("old macdonald had a farm, " + e)
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Why should you evaluate trends when thinking about a career path?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
You know the right answer?
Consider the following code:

public class b1
{
private int i;
privat...
Questions
question
English, 20.08.2021 18:10
question
History, 20.08.2021 18:10
question
Chemistry, 20.08.2021 18:10
question
Mathematics, 20.08.2021 18:10
question
Mathematics, 20.08.2021 18:10
question
Mathematics, 20.08.2021 18:10
question
Arts, 20.08.2021 18:10
Questions on the website: 13722362