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
musickatia [10]
4 years ago
14

What is the error and why is there an error in the code below?

Computers and Technology
1 answer:
s344n2d4d5 [400]4 years ago
8 0

Answer:

The error in the given question is that  the class xyz must be abstract i.e

abstract class xyz.

Explanation:

In the given code the class xyz contain abstact method so class xyz must be abstract because abstract class contain abstract method .Abstract class contain final variable and abstract method by default all the method in abstract class is abstract and variable are final .

Syntax:

abstract class classname

{

//final variable

// abstract method

// method

}

so coorect code is

abstract class XYZ

{  public static final int A = 9;

public abstract void foo1( );

public int foo2( )

{

return 5;

}

}

You might be interested in
What should you do if your computer keeps shutting down while working? Make sure your anti-virus software is running and up-to-d
olganol [36]
The answer is either A. or B. <span />
5 0
3 years ago
Read 2 more answers
Why is Thomas Jefferson considered an accomplished man , or a Renaissance man?​
lesantik [10]
The term “Renaissance man” means for a very clever person to be good at many different things.
4 0
3 years ago
Which phrase describes a dependent cell in Excel 2016? a cell that feeds data into another cell a cell that has data fed into it
vovangra [49]

Answer:

a cell that feeds data into another cell

Explanation:

The dependent cell means the cell which refers to another cell.

Just take an example

If cell c15 involves the formula = B10

So c15 is being dependent on cell b10

For reaching this we visit to formulas section after that dependent and precedent occurs

So according to the given options, the first option is correct

4 0
4 years ago
____ files involves combining two or more files while maintaining the sequential order of the records.
zysi [14]

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

<h3>What is Merging files?</h3>

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

brainly.com/question/1206838

#SPJ1

6 0
2 years ago
Which of the following statements are true regarding technology and learning? Select 3 options.
bekas [8.4K]

Answer:

<h2>Knowledge can be acquired throughout your life, through both formal and informal methods.</h2>

As long as a person is alive, they can keep learning. With the amount of knowledge available in the world, it is improbable that a person can acquire all of it before they pass on. It is therefore possible to acquire information until the day a person dies.

<h2>Changes in technology both enable and require lifelong learning.</h2>

Technology keeps changing and developing in order to make things better and more efficient. As such, humans need to keep learning for their entire lives or else they will be left behind as newer technology comes out. Take smartphones for instance, a lot of older grandparents have had to learn how to use them to keep in contact with with their families.

<h2>Virtual reality simulations are being used for training in industries like healthcare and the armed forces.</h2>

Virtual reality has improved the effectiveness of training in both the medical and armed forces industry because with training capable of being done in a virtual world, it can be more in-depth. For instance, medical students can use more realistic subjects to learn the intricacies of the human body and soldiers can embark on dangerous training missions without actually risking their lives.

5 0
3 years ago
Other questions:
  • The ______ is the information center that drivers need to refer to when they're NOT scanning the road.
    7·1 answer
  • Which tab provide text formatting features
    11·1 answer
  • Siona needs to make sure her ads are getting a minimum number of impressions on the top of the page. What type of automated bidd
    10·1 answer
  • . what action does the following a default operator perform? int a, b, c; a = b + c;
    14·1 answer
  • Match the vocabulary word to the accurate definition. A software program that enables you to search for, interact with, and retr
    5·2 answers
  • Which type of vulnerability scan mimics the work of a threat actor who has already exploited a vulnerability and compromised cre
    5·1 answer
  • List ten features of word processing packages​
    6·1 answer
  • list three things that can spoil a printer if they are not of the correct specification and explain what damage may be caused​
    15·1 answer
  • What type pf physical security devices lets a company locate devices that have been moved to a new location?
    12·1 answer
  • For which of the four game elements will you give a detailed description about the challenges that the player will face, such as
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!