Search:

Type: Posts; User: mia_tech

Search: Search took 0.10 seconds.

  1. Re: can I create an array in a parameterized class

    that's the problem I'm having. I don't know how to initialize a type <T> array. Also, I don't know the size of the array. Is it possible to do?
  2. can I create an array in a parameterized class

    lets say I want to create a parameterized class


    public class MySet<T extends Comparable> implements Set<T> {

    T[] n;

    MySet(T a)
    {
Results 1 to 2 of 2