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
Ainat [17]
4 years ago
9

Given code:public abstract class A{ }public class B extends A{}The following code sequence would correctly create an object refe

rence of class A holding an object reference for an object of class B:A c;c = new B();TrueFalse
Computers and Technology
1 answer:
kondaur [170]4 years ago
6 0

Answer:

True.

Explanation:

In the code given in the question we have an abstract class A.Then we have a class B which inherits the class A it is also an example of single inheritance.

Line A c; creates a reference of A type.

Line c=new B(); states that the reference of A type will refer to an object of class B.

Hence we conclude that the answer is True.

You might be interested in
Is this statement true or false?
dybincka [34]

Answer:

true

Explanation:

I used microsoft paint and found out that it will

3 0
3 years ago
What is an IF statement used for?
kiruha [24]

The IF statement is a decision-making statement that guides a program to make decisions based on specified criteria. The IF statement executes one set of code if a specified condition is met (TRUE) or another set of code evaluates to FALSE.

8 0
3 years ago
Draw a flowchart and write pseudocode to represent the logic of a program that allows the user to enter values for the width and
n200080 [17]

Answer:

10. Start

20. Enter Width of the room (W)

30. Enter length of the room (L)

40. LET Area = L * W

50. Output Area

60. End

Explanation:

The flowchart is attached to this answer as an attachment.

7 0
4 years ago
A personal directory of e-mail addresses stored and maintained with one’s e-mail program
iris [78.8K]

Answer:

It’s a address book

8 0
4 years ago
_________ are mobile devices that are used to give drivers advance warning of work zones or other unusual conditions.
Pani-rosa [81]

Answer: Flashing arrow signs

Explanation:Flashing arrow signs are the symbols or signs that are used in the form of warning that is provided to the drivers on the road to indicate about the warning in advance regarding the construction work or any particular work zone is present on that road .

These warning helps the drivers to become attentive while moving on the road so that they meet any accident due to that  .Also these signs are help to the construction worker because they don't face much problem due to the advance sign.

5 0
4 years ago
Other questions:
  • What is cryptocurrency ? I need to do a research one it please help!
    6·1 answer
  • What is wrong, logically, with the following code? if (x > 10) System.out.println("Large"); else if (x > 6 && x &l
    11·1 answer
  • Where may an operating system reside in a mobile device?
    5·1 answer
  • Which of these should most likely be included in a wire frame ?
    12·1 answer
  • _____ refers to the physical components used to collect, store, organize, and process data and to distribute information
    7·1 answer
  • Documenting Business Requirements helps developers control the scope of the system and prevents users from claiming that the new
    13·1 answer
  • How many four-digit personal identification numbers (PIN) are possible if the PIN cannot begin or end with a 0 and the PIN must
    6·1 answer
  • Write a program to assign distinct number between 1 and 200 into an int array of 100 elements in ascending order (you may reuse
    6·1 answer
  • Algoritmos para llevar a cabo una actividad
    15·1 answer
  • What are the benefits and drawbacks of a desktop utilising virtualisation and a server?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!