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
tankabanditka [31]
3 years ago
11

When an "is a" relationship exists between objects, it means that the specialized object has all the characteristics of the gene

ral object plus additional characteristics that make it special.
Computers and Technology
1 answer:
Nutka1998 [239]3 years ago
6 0

Answer:

This characteristics is called Polymorphism in the concept of Object Oriented Programming.

Explanation:

Polymorphism is one of the characteristics of Object Oriented Programming (OOP). It is also known as an "is a" relationship between objects.

Polymorphism is the ability of an object to take on many forms. It is commonly used when a parent class reference is used to refer to a child class object.

For instance; we have an Animal class, then a Dog class which inherit from the Animal class. We can then say a Dog is an animal (Polymorphism).

You might be interested in
First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects).
Nutka1998 [239]

Answer:

// name of the package

package stringlength;

// Scanner is imported but it is not needed

// So it is commented

// import java.util.Scanner;

// The class name StringLength is defined

public class StringLength {

// main method to signify the beginning of program execution

public static void main(String[] args) {

// if-statement to check if argument is supplied to

// command line

if(args.length > -1) {

// the first argument is read and assigned to input

String input = args[0];

int length = input.length(); // using length() method in String class

System.out.println("Your string has a length of "+length+" characters.");

} else {

System.out.println("Please enter your string argument in quote");

}

}

}

Explanation:

The code works fine with little modification and comments. The user should supply the string arguments in quote. The quote must surround the strings because our logic read the first argument passed to the command line. Inserting a string with space between them will provide a wrong output.

A sample image is attached.

6 0
3 years ago
How do you answer a question on this app?!? Do you comment on the question? I need a reminder! (I haven't been on this app in a
yKpoI14uk [10]
You just click on a question and then you'll see the word "answer" at the bottom of the questions and click on the word to answer the question

6 0
4 years ago
Write a function endpoints that takes a list of numbers (eg. [5, 10, 15, 20, 25]) and returns a new list of only the first and l
Ne4ueva [31]

I included a picture of my code below. Best of luck with your assignment.

5 0
3 years ago
Which of the statements is most likely true about the differences between the basic version and premium version of StreamPal
romanna [79]

Answer:

I

Explanation:

8 0
3 years ago
Read 2 more answers
When you use file explorer or windows explorer to delete a file from the hard drive, where does windows put the file?
Dvinal [7]
Trash bin

Reasons:

When you remove a file from the hard drive it is still written in binary code. So, windows places files in the *trash bin* if you did not want to delete it.
Unless USB or Removable flash drive, when you delete that it does not place any files in the trash bin.

6 0
3 years ago
Other questions:
  • Write a function named print_backward that accepts a String as its parameter and prints the characters in the opposite order. Fo
    12·1 answer
  • When a process becomes digital, it often becomes cheaper and the workflow becomes simpler. True False
    5·2 answers
  • Circular errors are caused by adding the cell name of a/an _______ cell to a formula.
    8·1 answer
  • Please I need help!!!!!!!
    14·2 answers
  • Write a python function c that converts bitstring array back to an integer numpy array
    5·1 answer
  • Write a C program to find the sum of 10 non-negative numbers entered by user​
    14·1 answer
  • I have no idea what I’m doing and this is due in 45 minutes
    7·1 answer
  • Project light with a system of lenses used for projecting slides or film into a screen.
    5·1 answer
  • A _______ is a group of elements that you want to style in a particular way.
    8·2 answers
  • List at least three kinds of harm a company could experience from electronic espionage or unauthorized viewing of confidential c
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!