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
Anna [14]
3 years ago
9

public class Parent { private int value = 100; public int getValue() { return value; } } public class Child extends Parent { pri

vate int value; public Child(int number) { value = number; } public int getValue() { return value; } }

Computers and Technology
1 answer:
Shalnov [3]3 years ago
3 0

The answer & explanation for this question is given in the attachment below.

You might be interested in
What are the unique technology that characterised each generation of computer ​
Svetach [21]

Technology used: Transistor. Operating speed was in terms of a microsecond. Assembly language and machines independent language such as COBOL (Common Business Oriented Language) and FORTRAN (Formula Translation) were introduced the size of the computer. Magnetic core memory was used as primary memory.

7 0
3 years ago
Consider the following code using the posix pthreads api:
Lubov Fominskaja [6]

The thing which the given program accomplishes is that it creates a method, declares variables, and executes commands if they meet the conditions in the code.

<h3>What is a Conditional Statement?</h3>

This is a type of statement that executes a line of code if a condition is not met.

Some types of conditional statements are:

  • IF statement
  • IF-ELSE statement
  • Nested If-else statement.
  • If-Else If ladder.
  • Switch statement.

No, that is not the desired output because the integer should be less than 20.

Read more about conditional statements here:

brainly.com/question/11073037

#SPJ1

8 0
2 years ago
APCS A: I'm reviewing an old ap test and can't get past this problem:
yaroslaw [1]

Answer:

The answer is "Option A"

Explanation:

Following are the complete code to these question:

public class Arr//defining a class-Arr

{

public static void main(String[] args)//main method  

{

        int [][] numbers={{1, 2, 3},{4,5,6}}; //defining 2D array numbers

for(int[] row : numbers) //use for loop that holds all array value into 1D  array

{

for (int n: row)//defining n variable that holds row array values  

{

System.out.print (n); //print n variable value

}

}

}

}

The code comment explains its functioning.

7 0
3 years ago
Anyone 13 i a boy 13 pan
Setler [38]

Answer:

RATED- SUS

Explanation:

4 0
3 years ago
Read 2 more answers
What is the purpose of this diamond shape in a flowchart?
Mashutka [201]

Answer:

Decision shape is represented as a Diamond. This object is always used in a process flow to ask a question. And, the answer to the question determines the arrows coming out of the Diamond.

Creatly.com Flowchart meanings and symbols

3 0
3 years ago
Other questions:
  • Which resource helps a user access a cloud service?
    13·2 answers
  • Which of the following resulted in a rightward shift in supply?
    5·1 answer
  • The process of searching for a special pattern of symbols within a larger collection of information is called pattern ____.
    12·1 answer
  • A manager keeps a record of daily each transaction in input.txt. Each line contains three items: The invoice number, the cash am
    5·1 answer
  • 1)What is Big Data?
    14·1 answer
  • Question 21 pts How many lines should an email signature be? Group of answer choices "5 to 6" "7 to 8" "1 to 2" "3 to 4"
    10·1 answer
  • The sun emits invisible _____&gt; A) electromagnetic waves B) Waves C) Radiation D) Wavelength E) Ultraviolet Light
    8·1 answer
  • Which of the following is not a group of energy sources?
    7·2 answers
  • What is the role of a control in a system that is functioning correctly
    9·1 answer
  • What is it called when you define a variable for the first time
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!