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
Given that String[] str has been initialized, to get a copy of str[0] with all characters converted to upper case, use the follo
Strike441 [17]

Answer: str[0].toUpperCase();

Explanation:

str[0] is pointing to the first character of the entire string and the code str[0].toUpperCase() will convert the characters to upper case if they are in lowercase and will remain unchanged if they are already in upper case.

7 0
2 years ago
What is data mining ​
Vesna [10]

Answer:

Data mining is a process of extracting and discovering patterns in large data sets involving methods at the intersection of machine learning, statistics, and database systems.

5 0
3 years ago
Read 2 more answers
Why is information literacy so important?
olga_2 [115]
It promotes problem solving approaches and thinking skills
6 0
2 years ago
"someone has tampered with your computer and erased data". what kind of computer threat is this
pishuonlain [190]
<span>So if some access your computer and erased some data without your permission or knowing then this threat is called as security threat. So you should have these stand alone systems with username and password concept that would protect your sensitive and private data and have the control over your computer.</span>
4 0
3 years ago
Write short cut of<br> fully justified​
Slav-nsk [51]

Answer:

To make text justified, select and highlight the text first, then hold down Ctrl (the control key) on the keyboard and then press J. To make the text left aligned again, press and hold down Ctrl on the keyboard and press L

4 0
2 years ago
Other questions:
  • You have been hired to upgrade a network of 50 computers currently connected to 10 mbps hubs. this long-overdue upgrade is neces
    12·1 answer
  • A software program that enables users to find and display information stored as html pages on the internet is a(n) ____.
    5·1 answer
  • Which statement describes what happens if multiple users make changes simultaneously to a presentation when
    10·1 answer
  • Assume there is a class AirConditioner that supports the following behaviors: turning the air conditioner on and off. The follow
    7·1 answer
  • When creating envelopes, how will you adjust the layout?
    10·2 answers
  • Which type of protocol allows for a secure data transmission using encryption methods?
    7·1 answer
  • 1- pensamiento sistémico<br>2- visión oriental y occidental​
    8·1 answer
  • In the scenario below, select the evaluation factor that is most important.
    6·1 answer
  • Because his father _____ his ten-speed bike away to punish him for his failing grades, the boy sulked for two days.
    11·1 answer
  • A(n) _____ is a data validation rule that should be applied to mandatory data items.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!