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
Katarina [22]
3 years ago
9

You coded the following class: public class N extends String, Integer { }When you compile, you get the following message:N.java:

1: ‘{‘ expected public class N extends String, Integer^ 1 errorExplain what the problem is and how to fix it.
Computers and Technology
1 answer:
lidiya [134]3 years ago
7 0

Answer:

Hi DancingGrace! The issue with the code is that it is trying to extend multiple classes which is not a feature in Java programming.

Explanation:

The extends keyword allows a class to use the attributes and properties of the base class it is extending and add more features and properties into it's own class. This is useful in programming where different models share similar properties but are slightly different. An example would be designing a class for Car and Bike. Both have some similar properties like wheels, engine, etc, however they are different forms of transport. A useful implementation would be to define a class called Vehicle with similar attributes, and have the Car and Bike extend it.  

You might be interested in
EXPLAINING A URL
Margaret [11]

Answer:

Explanation Below

Explanation:

The URL domain is example.

The URL path is the link itself

The Request gets sent to the web host.

The servers are the machine that gets the request (I’m not sure what you mean so I’m assuming it means that)

The request is asking the web host to connect you to the domain/server.

The last one I don’t really know......

5 0
3 years ago
A school has an intranet for the staff and students to use. Some of the files stored on the intranet are confidential. Give two
lapo4ka [179]

Answer:

explanation below

Explanation:

An intranet could be defined as a computer network that is used for sharing information, operational systems, collaboration tools and other computing tasks within a company or organization such as schools. It is usually structured to exclude excess by those outside of the organization.  

Intranet provides a lot of benefits to organization where it is been used and they are as seen below :

1. Users can effectively update and view their documents with ease – scheduling meetings, managing of classroom curriculum and preparing of projects can be done with less stress.

2. It can be used to keep accurate staff records – employees can have their details rightly stored using the intranet and a photograph can also be used.  

5 0
2 years ago
18. When you turn off the power to a computer and unplug it at night, it loses the date, and you must reenter it each morning. W
Tema [17]

Answer:

If this is a Mac, it's a common problem and there isn't anything to fix it because it's just like that. I reccomend unplugging the computer and NOT signing off. Because of that, that may be why it is the problem for you. I do not know about Windows Computers, but this is some info that applies with all computers.

Explanation:

7 0
3 years ago
Read 2 more answers
A hard drive that is running slowly may not have been
Anuta_ua [19.1K]
Plugged in i think is the answer
7 0
3 years ago
Read 2 more answers
How is sharepoint used in organization today?
tatyana61 [14]
<span>To build a team site and collaborate with your colleagues</span>
8 0
3 years ago
Other questions:
  • Write a function that takes an array of integers and its size as parameters and prints the two largest values in the array. In t
    5·1 answer
  • On Gmail, can I have an email get sent to someone at a certain time?
    7·1 answer
  • What makes a distributed denial of service attack "distributed"? It involves many ip addresses. It attacks multiple systems. It
    9·1 answer
  • A large IPv4 datagram is fragmented into 4 fragments at router 1 to pass over a network with an MTU of 1500 bytes. Assume each f
    15·1 answer
  • If you cause a car accident, which type of insurance will require you to pay the least out of pocket?
    5·2 answers
  • With ____________________, you can insert and remove a device while the computer is running.
    11·1 answer
  • What do computer programs generally try to solve and how? A) Computer programs generally try to solve a well-defined problem usi
    14·1 answer
  • The sequence's insert member function normally puts a new item before the current item. What should insert do if there is no cur
    9·1 answer
  • From the time users first visit a new website, or view a new media piece, how much time will they spend on the site before they
    10·1 answer
  • Many people are scared of the rise of Artificial Intelligence (AI). Do you think computers that are controlled by an AI are some
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!