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
Savatey [412]
3 years ago
8

Given the following code:

Computers and Technology
1 answer:
yawa3891 [41]3 years ago
6 0

Answer:

c4 instanceof C2 evaluates to false.

Explanation:

As C2 extends C1 so c2 instanceof C1 evaluates to true.

As C3 extends C2 which then extends C1 so c3 instanceof C1 evaluates to true.

As the object c1 is an instance of C1 class so c1 instanceof C1.

Therefore only c4 instanceof C2 evaluates to false.

You might be interested in
a town with 4 lakh inhabitants is to be supplied with water from a reservoir 6.4 km away from a town with 25 m available head ca
Komok [63]

Answer: B

Explanation:

4 0
3 years ago
Are DHCP messages sent over UDP or TCP? 2. What is the link-layer (e.g., Ethernet) address of your host? 3. What values in the D
maks197457 [2]

Answer:

1.) DHCP is sent over the message at UDP.

2.) The address of link-layer is Source: DellComp_4f:36:23 (00:08:74:4f:36:23)

3.) The message type of value to the discover message is 1, but the message type of value to the request packets is 3. This how you can be differentiate two.

4.) The Transaction ID in first four message is 0x3e5e0ce3

The transaction ID in second sets of messages is 0x257e55a3

The transaction ID is identifies if the message is a part of the set of the messages is related to the one transaction

Explanation:

DHCP is stands for the Dynamic Host Configuration Protocol which is the networks management protocol that is used on the UDP/IP networks where by the DHCP servers dynamically assign the IP address and the other networks configuration parameters to the each devices on the network so they can be communicate with the other IP network.

6 0
4 years ago
Give two reasons why mobile internet may not be available everywhere. ​
andreev551 [17]

Answer:

Mobile Internet is dependant on cellular signal. Many countries, e.g. in Africa, don't have any coverage at all. Furthermore, mobile data might also not be available in the mountains as there are no cell towers and the rough terrain usually either blocks the signal entirely or weakens it significantly.

4 0
3 years ago
A farmer sells tomatoes. For some reason, the farm obeys mechanical laws of fate.
Mars2501 [29]

Answer:

Here are the if/elif statements:

if tomatoes == 24:  #if farmer sells exactly two dozen tomatoes

   watermelons +=4  #farmer receives 4 watermelons

elif tomatoes >= 12:  #else farmer sells at least a dozen tomatoes

   watermelons +=2  #farmer receives 2 watermelons

else:

   tomatoes<12   #On the days that farmer sells less than a dozen tomatoes

   apples +=1  #farmer will get a single apple

Explanation:

You can test the working of these if elif statements by this program:

tomatoes = int(input("Enter the amount of tomatoes sold: "))  #prompts user to enter number of tomatoes

watermelons = 0  #initialize watermelons value to 1

apples = 0  #initialize apples value to 1

if tomatoes == 24:

   watermelons +=4

elif tomatoes >= 12:

   watermelons +=2

else:  

   tomatoes<12

   apples +=1

   

print("Number of watermelons recieved: ",watermelons)  #displays the received number of watermelons

print("Number of apples recieved: ",apples )  #displays the received number of apples

8 0
3 years ago
When you merge business letters, how many total documents will you have when you are finished with the merge process?
pychu [463]

Answer:

D. unable to determine – you will have one letter for each recipient on the list.

Explanation:

The reason because of this it depends on how many recipients there are to begin with.

Hope This Helps ;)

8 0
4 years ago
Read 2 more answers
Other questions:
  • What are three distractions that can prevent a driver from focusing on driving? Explain how a driver can prevent these distracti
    15·1 answer
  • Question 16 (2 points) Question 16 Unsaved
    11·1 answer
  • If you are working on a document and want to have Word automatically save the document every minute, what steps should you use t
    13·1 answer
  • Output from the print statement is usually written to the ______ in the form of ________
    6·1 answer
  • Jess and Ann have decided to exchange messages using the Caesar cipher. If the predetermined key is seven places to the left, th
    10·1 answer
  • Devices that allow for the retention of data when your computer has been shutdown
    10·1 answer
  • What is one potential problem with the following loop? System.out.print("Enter integers. Enter -1 to exit."); System.out.println
    12·1 answer
  • Help me. its due tonight
    13·1 answer
  • 1. Who is known as the father of a computer?​
    12·2 answers
  • What is the purpose of a web server? What is the purpose of a web browser?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!