Inheritance means ________. Question 18 options: A) that a class can contain another class B) that data fields should be declared private C) that a variable of supertype can refer to a subtype object D) that a class can extend another class

Answers

Answer 1

Answer:

Inheritance means D) that a class can extend another class.


Related Questions

Write any four advantage of computer.

Answers

Answer:

this is my answer hope you will find the right

Explanation:

Increase your productivity. ... Connects you to the Internet. ... Can store vast amounts of information and reduce waste. ... Helps sort, organize, and search through information. ... Get a better understanding of data. ... Keeps you connected. ... Help you learn and keep you informed.

There are some advantages to a computer

thank you if you like then gave point

Answer:

Any four advantages are:

1) It is fast and accurate device.

2) It is a versatile machine.

3) It has high storage capacity.

4) Computer can be used in various fields for different purposes.

Write the output of the following:
DECLARE FUNCTION
program
SUM (A, B)

Answers

Answer:

#include<studio.h>

Int main()

{

Int a=10, b= 20, sum;

Sum =a+b;

Printf(“ sum = %d”, sum );

Return 0;

}

Explanation:

Let's Assume A = 10 and B = 20

Write a function that receives a StaticArray where the elements are in sorted order, and returns a new StaticArray with squares of the values from the original array, sorted in non-descending order. The original array should not be modified.

Answers

Answer:

def sa_sort(arr):

   for i in range(len(arr)):

       for j in range(0, len(arr) - i-1):

           if arr[j] > arr[j + 1]:

               arr[j], arr[j + 1] = arr[j + 1], arr[j]

test_cases = (

   [1, 10, 2, 20, 3, 30, 4, 40, 5], ['zebra2', 'apple', 'tomato', 'apple', 'zebra1'],

   [(1, 1), (20, 1), (1, 20), (2, 20)])

for case in test_cases:

   print(case)

   sa_sort(case)

   print(case)

Explanation:

A ________ occurs when multiple processes or threads read and write data items so that the final result depends on the order of execution of instructions in the multiple processes.

Answers

Answer:

race condition

Explanation:

What Internet system, that still exists today, was built during the early days of dial-up networking

Answers

USENET is known to be the Internet system, that still exists today, was built during the early days of dial-up networking.

What is the internet about?

The Internet system called the Internet or the "the Net," is known to be a worldwide system that is composed of computer networks

Note that USENET is known to be the Internet system, that still exists today, was built during the early days of dial-up networking.

See full question below

What Internet system, that still exists today, was built during the early days of dial-up networking?

Broadband (not this)

World Wide Web

USENET

Bulletin Board System (not this)

Learn more about Internet system from

https://brainly.com/question/25226643

#SPJ1

What are the two most common input and output devices?

Answers

Answer:

Keyboard and mouse are the most common input devices.

Monitor and the printer are the common output devices.

What mitigation measures would you recommend for securing loose electronic items such as television sets, computer monitors, and electric appliances

Answers

The mitigation measures that I can recommend for securing loose electronic items such as television sets are:

The use of special hooksThe use of  VelcroThe use of bungee cords, and others.How do one Secure Loose Items?

There are special tools that one can use to secure any item from getting lost or missing.

Note that  The mitigation measures that I can recommend for securing loose electronic items such as television sets are:

The use of special hooksThe use of  VelcroThe use of bungee cords, and others.

Learn more about  mitigation measures  from

https://brainly.com/question/512988

#SPJ1

What is the potential outcome for an author if she uses a word without realizing its connotation? she may write something that she does not mean she may make a serious spelling error she may force her reader to use a thesaurus she may convince the audience of her writing skills

Answers

A potential outcome for an author who uses a word without realizing its connotation is: A. she may write something that she does not mean.

What is connotation?

Connotation refers to the quality, feeling or an idea which a word brings to the mind of a reader or listener, as well as its literal, dictionary or primary meaning.

This ultimately implies that, a potential outcome for an author who uses a word without realizing its connotation is that he or she may write something that she does not mean or pass across an information she didn't intend to.

Read more on connotation here: https://brainly.com/question/20236939

#SPJ1

Write the definition of a function named isPositive, that receives an integer argument and returns true if the argument is positive, and false otherwise. So, if the argument's value is 7 or 803 or 141 the function returns true. But if the argument's value is -22 or -57, or 0, the function returns false.

Answers

Answer:

// header files

#include <iostream>

using namespace std;

// required function

bool isPositive(int num)

{

// check if number is positive

if (num > 0)

{

// return true

return true;

}

// if number is 0 or negative

else

{

// retrun false

return false ;

}

}

// main function

int main() {

// test the function with different values

cout<<isPositive(7)<<endl;

cout<<isPositive(803)<<endl;

cout<<isPositive(141)<<endl;

cout<<isPositive(-22)<<endl;

cout<<isPositive(-57)<<endl;

cout<<isPositive(0)<<endl;

return 0;

}

A user calls in about a printer issue. You ask for the IPv4 address listed on the printer's configuration report. The user reads an IPv4 address of 169.254.13.50 from the report. What would this tell you

Answers

The  IPv4 address of 169.254.13.50  tells that the printer failed to obtain an IP address from DHCP.

What IP Addresses in Network Printers?

The IP address is known to be one that is special to the printer as it is one that works as a form of an identifier and it is one that informs a computer where to see the printer on the network.

So, one can say that the  IPv4 address of 169.254.13.50  tells that the printer failed to obtain an IP address from DHCP.

See full question below

A user calls in about a printer issues. You ask for the IPv4 address listed on the printer's

configuration report. The user reads an IPv4 address of 169.254.13.50 from the report. What would

this tell you?

a. The printer has a paper jam

b. The printer failed to obtain an IP address from DHCP

c. The printer had too many print jobs sent to it

d. The printer had a valid IP address and should work after a restart

Learn more about printer from

https://brainly.com/question/145385

#SPJ1

Alex discovers that the network routers that his organization has recently ordered are running a modified firmware version that does not match the hash provided by the manufacturer when he compares them. What type of attack should Alex categorize this attack as

Answers

A type of attack which Alex should categorize this attack as is: a supply chain attack.

What is a supply chain attack?

A supply chain attack can be defined as a type of attack that typically occurs before software or hardware (equipment) are delivered to a business firm.

In this context, we can infer and logically deduce that a type of attack which Alex should categorize this attack as is: a supply chain attack because the network routers were compromised before they received them.

Read more on chain attack here: https://brainly.com/question/25815754

#SPJ1

how have the computers contributed in the banking ?

Answers

Answer:

manage financial transactions

Explanation:

through the use of special cash dispensing machines called ATMs used for cash deposit & withdrawal services

b) The automated input technique where keying of input data is originated is sometimes referred to S: (1mk) b ) The automated input technique where keying of input data is originated is sometimes referred to S : ( 1mk )​

Answers

The automated input technique where keying of input data is originated is sometimes referred to as Typing.

What is Typing?

Typing is known to be the act of writing or inputting text through the use or by pressing keys on any typewriter, computer keyboard, etc.

So, The automated input technique where keying of input data is originated is sometimes referred to as Typing.

Learn more about  input technique  from

https://brainly.com/question/20489800

#SPJ1

What is the error if I want to assign a value to that same index? i.e. var_str[5] = “r”

PLEASE QUICK

Answers

The program would not generate an error if the var_str list have up to 5 elements

How to determine the error?

The operation is given as:

Assign a value to that same index

This is represented as:

var_str[5] = "r"

The representations from the above code segment are

List = var_strIndex = 5Value = "r"

When a value is assigned to an index, the value at the index is updated to the new value, provided that the index exists in the list.

This means that the program would not generate an error if the var_str list have up to 5 elements

Read more about list at:

https://brainly.com/question/27094056

#SPJ1

What is the full form of FORTAN

Answers

Answer:

FORmula TRANslation created by John Backus in 1957.

Answer:

The Full form of FORTAN is Formula Translation

What are 3 customizations that can be done using the header/footer section in the customize reports tray?.

Answers

The 3 customizations that can be done using the header/footer section in the customize reports tray are:

One  can customize the data, and also sum up that is add or delete columns, and also add or delete information on the header/footer.

What is the customizations  about?

In the case above, a person can also be able to personalize the font and style of the given report that they have.

Note that a lot of  columns and filters differ for all kinds of  report/group of reports and as such, The 3 customizations that can be done using the header/footer section in the customize reports tray are:

One  can customize the data, and also sum up that is add or delete columns, and also add or delete information on the header/footer,

Learn more about customizations from

https://brainly.com/question/3520848

#SPJ1

Answer:

change the header or footer alignment, show the logo, show or hide the report basis

Explanation:

so sorry about these "experts" that always spout random information

____ files involves combining two or more files while maintaining the sequential order of the records.

Answers

Merging files involves combining two or more files while maintaining the sequential order of the records.

What is Merging files?

Merging is known to be the act of of taking two or a lot of groups of data in the method of a file or folder, and adding them together into a single file or folder,

There are different kinds of files that exists. A computer file is one that comes in different format and sizes as well as its function. To merge connote to put two or more things together.

Note that, Merging files involves combining two or more files while maintaining the sequential order of the records.

Learn more about Merging files from

https://brainly.com/question/1206838

#SPJ1

Hisoka is creating a summary document for new employees about their options for different mobile devices. One part of his report covers encryption. What would Hisoka NOT include in his document

Answers

Hisoka would not include in his document that is Apple users file-based encryption to offer a higher level of security.

Does Apple use the file based encryption?

It is said that iOS and iPad OS devices are known to often use a file encryption system known to be Data Protection.

Therefore,  Hisoka would not include in his document that is Apple users file-based encryption to offer a higher level of security.

Hence option A is correct.

Learn more about encryption from

https://brainly.com/question/9979590

#SPJ1

A company is looking to share data between two platforms in order to extend their functionality. which feature enables communication between the platforms?
1 - e-business suite (ebus)
2 - human capital management (hcm)
3 - application programming interface (api)
4 - customer relationship management (crm)

Answers

The company needs the Application Programming Interface (API) feature that enables communication between the platforms.

What are application programming interfaces APIs?

The Application Programming Interface is known to be a kind of a software intermediary that gives room for more that one applications to communicate to each other.

Note that Each time a person use an app such as Face book, they often send an instant message and it means that one is using an API.

Hence, The company needs the Application Programming Interface (API) feature that enables communication between the platforms.

Learn more about functionality from

https://brainly.com/question/25638609

#SPJ1

What is the difference between asset allocation and diversification?
A) Diversification is much more important than asset allocation in an investment strategy.
B) Asset allocation and diversification are the same.
C) Asset allocation is about risk and diversification is about reward.
D) Asset allocation is the types of investments you choose, diversification is how you spread your investments within each investment type.

Answers

The difference between asset allocation and diversification is that Asset allocation is the types of investments you choose, diversification is how you spread your investments within each investment type.

What is the difference between asset allocation and diversification?

Asset allocation is known to be the percentage of stocks, bonds, and other form of cash in a person's portfolio, while diversification entails the act of spreading one's assets in all of one's asset classes within the given three buckets.

Therefore, The difference between asset allocation and diversification is that Asset allocation is the types of investments you choose, diversification is how you spread your investments within each investment type.

Learn more about asset allocation from

https://brainly.com/question/11744867

#SPJ1

What are the different types of data types in python? Write example of each and print there types.

PLEASE HELP

Answers

Numeric, List, Tuple. Inside numeric: Float,string, integer,

You have to write a program that will read a number followed by a series of bit operations from a file and perform the given operations sequentially on the number.
The operations are as follows:
set(x, n, v) sets the nth bit of the number x to v
comp(x, n) sets the value of the nth bit of x to its complement (1 if 0 and 0 otherwise)
get(x, n) returns the value of the nth bit of the number x
The least significant bit (LSB) is considered to be index 0.
Input format: Your program will take the file name as input. The first line in the file provides the value of the number x to be manipulated. This number should be considered an unsigned short. The following lines will contain the operations to manipulate the number. To simplify parsing, the format of the operations will always be the command name followed by 2 numbers, separated by tabs. For the set(x, n, v) command, the value of the second input number (v) will always be either 0 or 1. For the comp(x, n) and get(x, n) commands the value of the second input number will always be 0 and can be ignored. Note that the changes to x are cumulative, rather than each instruction operating independently on the original x.
Output format: Your output for comp and set commands will be the resulting value of the number x after each operation, each on a new line. For get commands, the output should be the requested bit’s value.
Example Execution:
For example, a sample input file "file1.txt" contains the following (except the annotation comments):
5 ---------------------------------# x = 5
get 0 0 -------------------------# get(x, 0), ignoring second value (0)
comp 0 0 ----------------------# comp(x, 0), ignoring second value (0)
set 1 1 --------------------------# set(x, 1, 1)
The result of the sample run is:
$ ./first file1.txt
1
4
6

Answers

The program what will read a number followed by a series of bit operations from file and perform the given operations sequentially on the number is given below.

What is an operation in computer science?

An operation, in mathematics and computer programming, is an action that is carried out to accomplish a given task.

There are five basic types of computer operations:

Inputting, processing, outputting, storing, and controlling.

What is the requested program above?

#include <stdio.h>

#include <fcntl.h>

int main(int argc, char *argv[])

{

  int number, n, v, temp;

  char line[25], fun[10];

  FILE *f = fopen(argv[1], "r");

 

  fgets(line, 24, f);

  sscanf(line, "%d", &number);   //reading the number

  while( fgets(line, 24, f) )

   {

      sscanf(line, "%s %d %d", fun, &n, &v); //reading the commands

      switch(fun[0])           //checking which command to run

      {

          case 'g':    temp = 1;

                      temp = temp<<n;   //shifting for getting that bit

                      printf("%d\n",(number&temp)&&1);

                      break;

          case 's':   temp = 1;

                      temp = temp<<n;   //shifting for setting that bit

                      if(!v)

                      {

                          temp = ~temp;

                          number = number & temp;

                      }

                      else

                      {

                          number = number | temp;

                      }

                      printf("%d\n",number);

                      break;

          case 'c':   temp = 1;

                      temp = temp<<n;   //shifting for complimenting that bit

                      number = number ^ temp;   //xor to complement that bit

                      printf("%d\n",number);

                      break;

          default:printf("not defined");

      }

  }

  return 0;

}

Execution and Output:

terminal-> $ gcc -o first first.c

terminal-> $ ./first file1.txt

1

4

6

Learn more about programs at;
https://brainly.com/question/16397886
#SPJ1


Stephen is slowing down as he approaches a red light. He is looking in his mirror to switch lanes and misjudges how close Keisha's car is, rear-ending her car. When
they get out and assess the damage, Keisha's bumper will need to be replaced. What type(s) of insurance could Stephen use to cover this accident? Explain.
Krisha had some discomfort in her neck at the time of the accident but thought it was minor and would go away. A week or so after the accident, Keisha finally goes
What t) of insurance could Keisha use to cover this accident?

Answers

The type of insurance that Stephen could use to cover this accident is known as liability coverage

What t) of insurance could Keisha use to cover this accident?

The insurance that Keisha could use to cover this accident is personal injury protection.

In the case above, The type of insurance that Stephen could use to cover this accident is known as liability coverage as damage was one to his property.

Learn more about Property Damage from

https://brainly.com/question/27587802

#SPJ1

the most useful site to learn.

https://schoolhouse.world/?ref=u-1ft1ub15nhaj

Answers

Studying online can be made easy when you learn from brainly.com and as such, the most useful site to learn is brainly

What is Is Brainly?

Brainly is known to be an online   education technology  free app that is said to function as a means for student in terms of social learning and it is a community that one ca get from App Store and also Go.ogle Play Store.

Hence, Studying online can be made easy when you learn from brainly.com and as such, the most useful site to learn is brainly.

Learn more about brainly from

https://brainly.com/question/25689052

#SPJ1

A technician is setting up three wireless access points to cover a floor of the office. What channels should the technician use for the access points

Answers

The channels that  the technician should use for the access points is One access point on channel 1 and the other two access points on channels 6 and 11.

What is an access point?

An access point is known to be a tool or a device that forms a wireless local area network, or WLAN, and it is one that is often used in an office or large building.

Note that in the above case, The channels that  the technician should use for the access points is One access point on channel 1 and the other two access points on channels 6 and 11 as it fits into the role.

See options below

A)All three access points on the same channel

B)One access point on channel 1 and the other two access points on channels 6 and 11

C)One access point on channel 1 and the other two access points on channels 3 and 5

D)One access point on channel 1 and the other two access points on channels 10 and 11

Learn more about technician from

https://brainly.com/question/2328085

#SPJ1

What is a security strategy comprised of products and services that offer remote support for mobile devices, such as smart phones, laptops, and tablets

Answers

Mobile device management  is a security strategy comprised of products and services that offer remote support for mobile devices.

What is the aim of mobile device management MDM?

Mobile device management (MDM) is known to be a kind of software that helps a lot of IT administrators to run, secure and use policies on smartphones, tablets and other kind of endpoints.

Therefore, Mobile device management  is a security strategy comprised of products and services that offer remote support for mobile devices.

Learn more about management   from

https://brainly.com/question/1276995

#SPJ1

1. The biggest advantage of an object created either as an object literal or with the new Object() command is that the object is reusable. True False

Answers

It is true that The biggest advantage of an object created either as an object literal or with the new Object() command is that the object is reusable.

What is JavaScript?

JavaScript refer to a programming language that is use to create a unique session with web browsers supplying information.

Therefore, It is true that The biggest advantage of an object created either as an object literal or with the new Object() command is that the object is reusable.

Learn more about JavaScript below.

https://brainly.com/question/16698901

#SPJ1

You have compressed a 4 MB file into 2 MB. You are copying the file to another computer that has a FAT32 partition. How will you ensure that the file remains compressed

Answers

Answer:

You cannot maintain disk compression on a non-NTFS partition.

Explanation:

A computer professional's job involves analyzing computer systems for
businesses and determining whether they are protected from cyber threats.
Which discipline includes this job?
A. Information technology
B. Computer engineering
C. Software engineering
D. Computer science

Answers

Information technology is the discipline that includes analyzing computer systems for businesses and determining whether they are protected from cyber threats. Option A is correct.

What is information technology?

The practice of using computers to generate, process, store, retrieve, and communicate various types of electronic data and information is known as information technology (IT).

Analysis of computer systems for organizations to ascertain if they are secure against cyber attacks is part of a computer professional's work. This position falls within the discipline of information technology.

Unlike personal or recreational technology, IT is primarily utilized in the context of commercial activities. ​

A computer professional's job involves analyzing computer systems for businesses and determining whether they are protected from cyber threats. The discipline included in this job will be Information technology.

Hence option A is correct.

To learn more about information technology refer;

https://brainly.com/question/14426682

#SPJ1

Answer:

a.

Explanation:

is a programming model that focuses on an application's components and data and methods the components use. Group of answer choices Classical programming Functional programming Procedural programming Object-oriented programming

Answers

Object-oriented programming is a programming model that focuses on an application's components and data and methods the components use.

What is Object-oriented programming (OOP)?

This is known to be a form of  a programming paradigm that is known to be due to the idea of "objects", that often contain data and code.

Note that, Object-oriented programming is a programming model that focuses on an application's components and data and methods the components use.

Learn more about programming model from

https://brainly.com/question/22654163

#SPJ1

Other Questions
Select the tool that is called the beaker. Which term describes the set of all possible input values for a function? O A. Range OB. Input O C. Output OD. Domain SUBMI Combine the radicals 47+328.O 107O470 -271014 What two branches of government did the Articles of Confederation fail to establish? how much is 0.54/0.2 Which of the following could be the ratio between the lengths of the two legs of a 30-60-90 triangle?Check all that apply. Retype the below code. Fix the indentation as necessary to make the program work. if 'New York' in temperatures: if temperatures['New York'] > 90: print('The city is melting!') else: print('The temperature in New York is', temperatures['New York'])else: print('The temperature in New York is unknown.')Sample output with input: 105The city is melting!Perferred in Python A sky diver, mass 90 kg, reaches a terminal velocity of 60 m/s. What is the approximate magnitude of the force of air resistance?. One jar filled with honey weighs 120 grams and one empty jar with half filled honey jar weighs 150 grams what is the weight of the jar What is the first step in setting up a budget? (1 point)a. Calculate your fixed expensesb. Calculate your variable expensesc. Determine your gross income for the yeard. Determine your net income for the year Fill in the gaps below: A motorbike is priced at $945.50 Johnson has $ 5000.How many motorbikes could he buy? What is this expression in simplified form? A sphere has a surface area of 16pi cm. Find the volume giving your answer in form. Anyone know how to do this question? __________ is often a limiting nutrient for many organisms, especially plants. A. Carbon B. Nitrogen C. Sulfur D. Phosphorus A moving car has a kinetic energy of 0.3 MJ. If the car's speed decreases two times, its new kinetic energy will be Why was Marguerite intrigued by Mrs. Flowers?Because Mrs. Flowers was a mystery in the town.Because Mrs. Flowers attended Marguerite's Church.Because Mrs. Flowers was unlike anyone Marguerite has met before.Because Mrs. Flowers was her mother's best friend. What type of function is shown in the data in the table below? Fluent readers read each word one by one to make sure they understand each one clearly give an example of a situation in which a supreme court would consider a trail too speedy and too public