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
sesenic [268]
3 years ago
10

Consider the following class definitions.

Computers and Technology
1 answer:
Serggg [28]3 years ago
4 0

Answer:

The correct answer is option A

Explanation:

Solution

Recall that:

From the question stated,the following segments of code that should be used in replacing the /* missing code */ so that the value 20 will be printed is given below:

Android a = new Android(x);

a.setServoCount(y);

System.out.println(a.getServoCount());

The right option to be used here is A.

You might be interested in
should variables that contain numbers always be declared as integer or floating-point data types? why or why not? name potential
Stells [14]

No, it is not necessary that variables that contain numbers should always be declared as integer or floating-point data types.

It is not necessary that variables that contain numbers should be declared as integer and floating point data types. Because number can be declared with different data types.  As we know that data type is a vital aspect in programming. It describes the type of a value that is contained in a variable. It is the data type based on which memory is allocated to a number or any type of variables.

Numbers can be whole decimal/fractional, signed, unsigned, small, and long. Simply, they exist in a variety of values. According to their values range, the amount of memory is reserved.

Different programming languages offer different data types to store numbers, depending on their types and size. Let’s consider some examples of data types used in programming languages in order to declare variables holding numbers.

  • In Python int, float, and complex are the data types used to declare number type variables.
  • SQL uses INTEGER, SMALLINT , BIGINT , NUMERIC() , and DECIMAL() data types for numbers.
  • To deal with number type variables, Java has six predefined data types, such as int, long, short, byte, float, and double.
  • JavaScript uses a single data type called 'number' to declare numbers.
  • In C++, two fundamental data types, int and float, are used to represent numeric variables. But C++ is not only limited to these two data types. The data type char can also store numbers. Other data types for declaring numbers as variables are derived from int, float and char, such as short int, long int, signed int, unsigned int, double, long double, signed char, unsigned char etc. etc.

So in concluding remarks, declaring a number type variable is not only limited to using integers and floating-points data types. Rather it entirely depends on the respective programming language, and size and type of the number to be stored in the variable.

You can learn more about data types at

brainly.com/question/13438922

#SPJ4

6 0
2 years ago
A previously saved labels report can be accessed from the
Tcecarenko [31]

C. is the answer to that question

6 0
3 years ago
how can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, cli
4vir4ik [10]

2.  on the file menu, click new, and then click blank presentation.

5 0
3 years ago
you work in the Human Resources department of a company that has partnered with a similar company in Brazil on a big contract. y
Phoenix [80]

Answer:

Option C: Organizational Chart.

Explanation:

The main goal, in this case, it's to help the team to know the company and its integrants.

An organizational chart -- also called organigram -- is the best tool to clarify how the Brazilian company works.

The organigram is a diagram that illustrates the structure of an organization, how one part its related to another, and the assigned responsibilities of each specific department. Through this tool, the team will have a clear idea of who their counterparts are and how their job is related to ours.

4 0
3 years ago
Cual es la importancia de aplicar una riostra como punto de soporte en una estructura
creativ13 [48]

What is the importance of applying a brace as a support point in a structure is given in the following

Explanation:

  • So overall purpose of bracing is to provide additional safety against the external loads in comparable self-building. The main function of the bracing in steel structures that the lateral forces due to wind, earthquake and crane surge etc. are transmitted efficiently to the foundation of the building.
  • In construction, cross bracing is a system utilized to reinforce building structures in which diagonal supports intersect. Cross bracing can increase a building's capability to withstand seismic activity. Bracing is important in earthquake resistant buildings because it helps keep a structure standing.
  • A bracing system is a secondary but essential part of a bridge structure. A bracing system serves to stabilize the main girders during construction, to contribute to the distribution of load effects and to provide restraint to compression flanges or chords where they would otherwise be free to buckle laterally.
  • A bracing system is a secondary but essential part of a bridge structure. A bracing system serves to stabilize the main girders during construction, to contribute to the distribution of load effects and to provide restraint to compression flanges or chords where they would otherwise be free to buckle laterally.
7 0
3 years ago
Other questions:
  • Dr. Patterson’s office calls to give patient Sara Martin her test results from her most recent visit. Her husband answers the ph
    8·2 answers
  • Of which of the following devices are point, drag, and click actions?
    15·1 answer
  • Additional chemical hazards training must be provided to employees:
    12·1 answer
  • In which part of a browser will you type the url of a website
    11·1 answer
  • Write a program in c++ to displaypascal’s triangle?
    14·1 answer
  • Consider the following C++ program in which the statements are in the incorrect order. Rearrange the statements so that itprompt
    6·1 answer
  • Help me with this, please. Are vacuum cleaners, Cd players, and telephones considered computers? Do they store any data or proce
    8·2 answers
  • To change lowercase letters to uppercase letters in a smaller font size, which of the following should be done?
    10·1 answer
  • Draw
    7·1 answer
  • What paradigm is this code based on? How do you know?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!