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
Svetlanka [38]
3 years ago
5

Some classes, like the ArrayList class, use angle brackets in their documentation and their declaration. For example, the Java d

ocumentation for the ArrayList class starts with this: public class ArrayList. What is the name for classes that have extra "parameter(s)" in angle brackets like this? Group of answer choices generic classes specific classes hard classes type classes
Computers and Technology
1 answer:
alex41 [277]3 years ago
6 0

Answer:

The answer to the following question is Generic classes.

Explanation:

The declaration of the generic classes is the same as the declaration of non-generic classes but except the class name has followed by the type of parameter section.

The parameter section of the generic class can have only one or more than one type parameter which is separated by the commas.

Following example can explain that how can define generic class.

public class demo<D> {

  private D d;

  public void fun(D d) {

     this.d = d;

  }

  public D get() {

     return d;

  }

  public static void main(String[] args) {

     demo<Integer> integerdemo = new demo<Integer>();

     demo<String> stringdemo = new demo<String>();

   

     integerdemo.fun(new Integer(10));

     stringdemo.fun(new String("Hello World"));

     System.out.printf("The Integer Value is :%d\n\n", integerdemo.get());

     System.out.printf("The String Value is :%s\n", stringdemo.get());

  }

}

You might be interested in
In 5-10 sentences, describe the procedure for responding to an e-mail message.
miss Akunina [59]

Answer: See explanation

Explanation:

The procedure fur responding to an email message goes thus:

The first thing to do is to open the website of the email. Then, you would click on "compose".

When you click on compose, you'll see some space where you'll fill some information such as the email of the person that you're sending to, that is, the receiver. You'll also feel the subject of the email.

Then you type the content of your message. When you're done with this, then you click on send.

7 0
2 years ago
If you often purchase items at the same e-tailer and do not have to type in your username and/or password, this probably means
tatyana61 [14]

Answer:

Explanation:

This probably means that your browser has saved your username and password into the browser's password manager. This usually occurs the first time you enter your username and password into a new website. The browser will detect this and request to save this information into the password manager. If you agree to do so it will save it and automatically enter this information when opening the site in the future.

3 0
3 years ago
Which of the following is not a storage medium?
GarryVolchara [31]

Answer:

microphone

Explanation:

when you are using a microphone once it stop it done

8 0
3 years ago
Read 2 more answers
Yo who do u add a pic on here
Juliette [100K]
Go to the me colum when you first open the app
8 0
3 years ago
Which of the following best describes cost-benefit analysis?
d1i1m1o1n [39]

Answer:

A

Explanation:

7 0
3 years ago
Other questions:
  • _______ are unprocessed facts that a computer feeds on.
    5·1 answer
  • What task did the u.s. government undertake that many people identify as the birth of the internet
    5·2 answers
  • Is frequency measured in henry.
    14·1 answer
  • Which extensions can help drive installs of your mobile app?
    12·1 answer
  • (Best Buy Part A) At a Best Buy store, the forecast for the annual demand of a Motorola cell phone is 15600. Demand forecasts ar
    12·1 answer
  • After fixing the format of her subheadings, she notices that she misspelled the name of one of the famous people
    7·2 answers
  • ...................You like swamps
    13·2 answers
  • Please help me willgive u brainliest​
    14·1 answer
  • How to make a project using PID and thermacouple
    11·1 answer
  • What is the main difference between the ICD-10 annual revision released by the WHO and the ICD-10-CM/PCS annual revision release
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!