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]
3 years ago
14

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

Computers and Technology
1 answer:
s344n2d4d5 [400]3 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
Which disk drive type contains a magnetic HDD with onboard flash memory serving as a non-volatile cache?
Shkiper50 [21]

Answer:

SSHD - Solid State Hybrid Drives

Explanation:

SSHD - Solid State Hybrid Drives -

Hard disk refers to a storage form of device , which uses uses the combination of the fast storage medium like the solid - state drive along with the very higher - capacity hard disk drive .

In the solid state hybrid drives , the combination of the onboard flash memory and the magnetic HDD , which is less expensive than the SSD.

Hence , from the given information of the question ,

The correct term is SSHD - Solid State Hybrid Drives  .

5 0
3 years ago
To resize columns in a subform, press and hold or right-click the subform in the navigation pane, and tap or click ____ on the s
vazorg [7]
<span>To resize columns in a subform, press and hold or right-click the subform in the navigation pane, and tap or click OPEN on the shortcut menu. Doing that, you will be able to resize columns in a subform. The answer is: OPEN.</span>
8 0
4 years ago
Retype the below code. Fix the indentation as necessary to make the program work.
ioda

The retyped code fixing the indentation problem is attached below

<h3>Proper Indentation in python </h3>

The proper indentation of lines of codes in python can be done by hitting the the space 4 times or by using the Tab button

The values assigned to the dictionary with variable_name temperatures is missing but I have provided an assumed dictionary to enable the proper writing and Indentation of the lines of code.

Hence we can conclude that The retyped code fixing the indentation problem is attached below.

Learn more about errors of proper indentation : brainly.com/question/18497347

#SPJ1

6 0
2 years ago
You have a large TCP/IP network and want to keep a host's real time clock synchronized. What protocol should you use?
sweet-ann [11.9K]

Answer: NTP ( Network time protocol)

Explanation:

Network time protocol is the time server which basically works in the TCP and IP network. It rely on the UDP ( User data-gram protocol) at port 123.

NTP server is the dedicated network time protocol devices which basically use for synchronize the network.

It is basically design to synchronize the clock in the computer and across the internet network and local area network. NTP server basically maintain the quality of the reference clock time.

4 0
3 years ago
What the address for dns server that the eorkstation will use?
Harrizon [31]
You will use https//
6 0
3 years ago
Other questions:
  • Which of these is a typographical clue?
    9·2 answers
  • Match the terms with their definitions.
    5·2 answers
  • Can someone help me with this one
    9·2 answers
  • In Load/Store Architecture, memory is only referenced by load and store instructions.
    15·1 answer
  • ________ is a remote access client/server protocol that provides authentication and authorization capabilities to users who are
    10·1 answer
  • A good sentence about art
    9·1 answer
  • Which bits of the address would be used in the tag, index and offset in a two-way set associative cache with 1-word blocks and a
    7·1 answer
  • __________ implements a security policy that specifies who or what may have access to each specific system resource and the type
    8·1 answer
  • Help help help help help help help help
    12·1 answer
  • You can open a movie maker project file any time in a media player. (1 point) true false
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!