Which of the following statements will cause a compile-time error? Parent person = new Child(); person.grade(); Child person = new Child(); person.gra

Answers

Answer 1

The  statement that will cause a compile-time error is  Parent person = new Child(); person.grade();

What is compile-time error with example?

A compile-time error is known to be a kind of errors that matches to that of semantics or syntax.

It is often known as Syntax errors and it occurs if the programmer does not use the steps of the syntax in the  programming language, due to the above, the compiler will bring out the syntax error.

Learn more about error from

https://brainly.com/question/18497347


Related Questions

A user has become compromised as a result of visiting a specific web page, without clicking on any kind of content. What type of attack has occurred?.

Answers

Answer:

drive-by-download

Explanation:

HTML Downloads
Explaintion:
Clicking a web page can sometimes download suspicious malware on the computer.

1. What can you say about the picture?

Answers

Answer:

What picture?

Explanation:

Where is the picture? We need the picture in order to answer your questions

Write a function that can find the largest item in the array and returns it. The function takes the array as an input. From the main function, send initial address, type and length of the array to the function. You can use registers to send the data to the function. Also return the largest item in the array using EAX register. You can use the following array for this problem. Array DWORD 10, 34, 2, 56, 67, -1, 9, 45, 0, 11

Answers

Answer:

var newArray = array.OrderByDescending(x => x).Take(n).ToArray();

Explanation:

Write the find_index_of_largest() function (which returns the index of the largest item in an array). Eg: a = [1 3 5 2 8 0]; largest = find_index_of_largest ( a ); largest = 5; Question: Write the

How to connect two monitors to a laptop with one hdmi port?.

Answers

Answer:

If you have a USB or USB-C port in your laptop, I would suggest getting a USB/USB-C to hdmi adapter to plug into your laptop and use it with one of your monitors.

Explanation:

What is it called when a programmer includes a step in an algorithm that lets
the computer decide which group of steps to perform?
Alteration
B. Selection
OC. Sequencing
OD Storage

Answers

Selection is the step in algorithm that let's the computer decide which group of steps to perform.

What is Algorithm?

This can be defined as set of instructions which are used for solving a problem or accomplishing a task.

Selection happens when there are one or more options are available in which the computer decide which group of steps to perform.

Read more about Algorithm here https://brainly.com/question/11302120

Answer:

its A

Explanation:

You watch a movie where a secret agent puts a small device on a telephone line so that they can
listen to conversations between two other people. This is an example of:
O snooping.
O social engineering.
O wiretapping
O data confidentiality.

Answers

Answer:

wiretapping

have a good day :)

A subquery whose return value depends on the row being returned in a main query is called a(n) _____ query.

Answers

Answer:

correlated

Explanation:

A correlated subquery is a method of reading each row of a table and comparing the values in each row to related data. It's utilized when a subquery has to deliver a different result or collection of results for each candidate row that the main query considers. I hope this helps! ^-^

If a Windows system crashes or has a corrupted OS, it can be restored to its previous state from a previously created _______________.

Answers

“Screenshot” or backup
Screenshot means a backup in this scenario, but I’d go with backup as your answer to this question

You have a small network that has only two route possibilities. You want to control the flow of traffic to a specific route. Which routing approach would be the BEST choice

Answers

The routing approach would be the best choice for the above scenario is Static routing.

What is Static routing?

This is known to be the best or ideal routing that is good in small networks where only a one or few routes can be seen or in networks where full control of routing is needed.

Note that static routing has some demerit that can make it difficult and hard to handle in large environments and as such it can only be useful in small  areas.

Learn more about network from

https://brainly.com/question/12110831

In binary, what would be the largest number 2^9 would allow?

Answers

Answer:

511

Explanation:

(2 ^ 9)  - 1 = 511

We first have 2 ^ 9 which is 512, but we subtract 1 becuase while it can hold 512 values, it starts at 0.

Question 5 of 10
Which step might be included in an algorithm for a self-driving car?
A. Ask another driver for help
B. Analyze data from the car's external cameras.
O C. Look up directions.
D. Read a physical map of the streets.

Answers

Hello!

Answer:
B. Analyze data from the car’s external cameras.

I hope that this helps you!

Answer:

B.

Explanation:

What actions might contribute to recommendations you see online?

Answers

Answer: what you search up

Why do you need to put your phone on airplane mode.

Answers

Pilots claim that active cell phones could interfere with their navigation equipment.

7.5.5: Contains a Vowel how do I do it?
# Ask the user for a string
word = input("Enter a string:")



# Check for lowercase vowels: a, e, i, o, or u and print
if "a" in word or "e" in word or "i" in word or "u" in word:



print "Contains a lowercase vowel!"


else;

print "Doesn't contain a lowercase vowel!"

Answers

The code that checks if a user input has a vowel can be done by looping the users input and check if the users input has a vowel in it.

x = input("kindly, input your string: ")

vowels = ['a', 'e', 'i', 'o', 'u']

length = 0

for i in x:

    if i in vowels:

         length += 1

if length >= 1:

    print("Contains a lowercase vowel!")

else:

    print("Doesn't contain a lowercase vowel!")

Code explanation

The code is written in python

The first line of code ask the user for an input.The vowels are stored ina variable called "vowels".The variable "length" is initialise to zero.Then, we loop through the value in the users input.If the users input contain any vowel the length is incremented by 1.Finally if the length is greater or equals to 1 we print a message "Contains a lowercase vowel"Else we print "Doesn't contain a lowercase vowel!"

learn more on python code here: https://brainly.com/question/15114317

Jennifer is moving to nashville in a few weeks and needs to find an apartment to rent. She has looked online, talked to her new coworkers about safe areas close to work, and read through nashvilleguru. Com to gather information for her decision. She has narrowed down the area she wants to live to the gulch, which is a walkable neighborhood and friendly for young urban professionals. Now she is assessing which available apartment buildings and condos in the gulch suit her wants and needs most. Jennifer is working through which part of the consumer decision-making process?.

Answers

The part of the decision-making process that Jennifer is working through is: evaluating alternatives.

What is the decision-making process?

Decision-making process can be defined as a cognitive process that involves gathering information, analyzing the information, and assessing or evaluating alternatives, so as to enable the proper selection of an optimum solution (choice).

In this scenario, evaluating alternatives is the part of the decision-making process that Jennifer is working through because she is assessing all available apartment buildings.

Read more on decision-making process here: https://brainly.com/question/1249089

Which networking device behaves similarly to an access point that conforms to the IEEE 802.11b standard

Answers

Answer: a Hub

Explanation: Hubs are used to combine connections with ethernet cables, typically routing with switches to IDF>MDF>ISP etc.

which wares are the most important to a computer operator​

Answers

hardware

software

humanware

Why are telephoto lenses known for creating a pincushion effect on images?

A. because the shrinking of the image decreases on the edges of the frame

B. because the magnification of the image decreases on the edges of the frame

C.
because the shrinking of the image increases on the edges of the frame

D. because the magnification of the image increases on the edges of the frame

Answers

Answer:

D is the correct answer.

Answer: d because the magnification of the image increases on the edges of the frame

Explanation:

Lane received a phone call from a client. The client claimed that a file he was working on the day before had disappeared from his computer along with several other files. Lane went to the client’s desk to see if she could rebuild the files from the backup done the night before. Lane found and rebuilt the files from the backed-up data. When lane called the next morning to see if everything was working, the client said that two of his files were gone again. He also noticed new files in a folder. When lane arrived, she checked to see how much free space the computer had available and found that it had 250gb less than the day before. What is the issue with the client’s computer?
a. Spam
b. Corrupt hard drive
c. Bad hard drive driver
d. Computer virus

Answers

There are different kinds of virus. The  issue with the client’s computer is Computer virus.

What is computer virus?

A computer virus is known to be a kind of computer program that, when used, can recopy itself by modifying other computer programs and putting its own code.

The Examples of computer viruses are:

Worms Trojans , etc.

The issue with the system that Lane is working on is virus and it can be worked on by using Anti-virus.

Learn more about Computer virus from

https://brainly.com/question/20407534

A practice to ensure threads finish a required method before another thread starts is to use the _____ keyword in the method header.

Answers

A practice to ensure threads finish a required method before another thread starts is to use the synchronized keyword in the method header.

What is Synchronized keyword in terms of Java?

This is known to be the act of giving room for only a single thread to be able to access the shared data or resource at a given timeframe.

Note that it often help users to be able to protect their data from being access by different threads and as such, a practice to ensure threads finish a required method before another thread starts is to use the synchronized keyword in the method header.

Learn more about keyword from

https://brainly.com/question/2960292

Although fun and entertainment are the primary functions of video games, they have other uses, as well. An
accidental experiment in pandemics was performed in 2005 in the virtual reality game, World of Warcraft, and
The University of Washington released an interactive game, Foldit, that allowed users to solve problems or find
solutions to various puzzles. Choose one of these scenarios and explain how the situation helped scientists
learn. What is another problem that you think could be addressed by using video games?

Answers

The problem that you think could be addressed by using video games is financial  management skills.

What problem does gaming handles?

A lot of Scientific research have seen that video games improve people's creativity and also their skill in terms of problem-solving skills.

Note that it can also help to improve financial management skills and also make people to have stable jobs and good source of income.

Learn more about video games from

https://brainly.com/question/8870121

A __________ constant is a name that references a value that cannot be changed while the program runs.

Answers

Answer:

Explanation:

A constant is a name that references a value that cannot be changed while the program runs

Example in Javascript:

const x = 5;

cannot be reassign x

wronged: x = 10; (will throw an error try to assign value to constant variable)

Who designed the apple i computer in 1976?

steve wozniak

richard stallman

paul allen

konrad zuse

Answers

Steve Wozniak

An Apple 1 at the Computer History Museum, Mountain View. demonstrated the first Apple Computer that he designed and hand-built at the Homebrew Computer Club in Menlo Park, California in July 1976

Answer:

Steve Wozniak

Explanation:

It said the computer is made by apple, Which was started by Steve Jobs and Steve Wozniak,

Paul Allen helped start Microsoft

Richard stallman worked for MIT

Konrad Zuse started Zuse KG

A radio is basically made of two parts:


A. A gyroscope and a vacuum tube.


B. A transmitter and a receiver.


C. A cathode and an anode.


D. A motherboard and a CPU.

Answers


A transmitter and a reciever

A(n) ________ is a way of retrieving information from one or more tables that defines a particular subset of data.

Answers

Answer:

completeness

Explanation:

How should a team have quality built into its deliverables?

Answers

Answer:

According to the question, the answer is option "A) By having a separate quality assurance team for testing the quality of deliverables". The reason for this answer is because there are many things regarding quality assurance should be taken care of, in order to make the product deliverable to customers.6 May 2019

you want to search for a certain value and then return the index of that
value, which section of MakeCode Arcade's toolbox would you use?
A. Modify
O B. Operations
C. Read
D. Create

Answers

The  section of MakeCode Arcade's toolbox would you use is to Modify.

What is Microsoft MakeCode?

The Microsoft MakeCode is known to be a type of an app or tool that is  free and it is also an open source platform.

It is often used in forms engaging computer science learning experiences that aids a progression way or method into real-world programming.

Learn more about MakeCode from

https://brainly.com/question/26995556

Answer: Read

Explanation:

took the test

What is the main advantage of using templates and other presentations to create a new presentation?

A. They allow you to include more slides in a presentation.

B. They give you access to additional slide layouts that you cannot create in a blank presentation.

C. They save you time designing slides and allow you to focus more on the content.

D. They automatically fill-in content and allow you to spend more time on designing slides.

Answers

C. They save you time designing slides and allow you to focus more on the content.

hope this helps you!

how are technology and technician interrelated to each other

Answers

Answer:

the technician is the technology so connected because without the technician how can we keep the technology running

Explanation:

without the technician, nothing technological would work for a long time

A user who bypasses the documentation to get a new hardware or software package operational as rapidly as possible is a victim of ____.

Answers

A user who bypasses the documentation to get a new hardware or software package operational as rapidly as possible is a victim of quick start behavior.

What is Quick Start Behavior Guide?

The Quick Start Behavior guide is known to be a fast introduction to the use of Class Charts behavior management software.

A user who bypasses the documentation to get a new hardware or software package operational as rapidly as possible is a victim of quick start behavior as he or she is in haste and thus did a bypass.

Learn more about documentation from

https://brainly.com/question/25534066

Other Questions
what was the transcontinental route through texas? A triangle is dilated by a scale factor of n = one-third. which statement is true regarding the dilation? it is a reduction because n > 1. it is a reduction because 0 < n < 1. it is an enlargement because n > 1. it is an enlargement because 0 > n > 1. what is 94,104 divided by 12 A circular piece of fabric has a radius of 1. 2 ft. The fabric sells for $5. 40 per ft. What is the total cost of the circular piece of fabric? use 3. 14 for pi. $6. 48 $20. 35 $24. 42 $40. 69. If the terminal side of angle passes through a point on the unit circle in the first quadrant where x=2/2, what is the exact measure of ? I hate howshe can be when we arechoosing our lunch in thecafeteria.Fill in the blank a mechanical wave is when particles ______ and move through ______ whats the answer to 9824 FAB has three partners, Ramon, Janna, and Jackie, and $20,000 in assets when it begins its winding-up process. FAB owes $20,000 to a supplier, $25,000 on a bank note, and $5,000 to Jackie for a loan she gave to the partnership. FAB does not have a partnership agreement. What financial rights and obligations does Jackie have Cooper asked his classmates, "How many days do you floss your teeth in atypical week?" The table shows Cooper's data.How many observations did he record?A. 24B. 7C. 27D. 21 Frederick Douglass toured the nation speaking for the Massachusetts Anti-Slavery Society. What other issues did he speak out on? Pls pls pls help ill give you whatever :( I need help finding this answer, check the screenshot for all the info outline three factors that influence mass wasting Some nurses can serve as primary caregivers, without the supervision of a doctor.A. TrueB. False Write spoken poetry about the importance of being honest with yourself and fellows Please help due today Es la oracin que tiene verbos compuestos:A) No llegar a comer.B) Se cay por el acantilado.C) Espero que no se haya comido mi pizza.D) Arreglaremos el carro maana. Use the box method to distribute and simplify (5x+2)(3x+3) according to the interview how does martin luther king jr view his relationship with stokely Carmichael