How can i use class collections in java?
I'm new to android as well as java, in Dotnet if we want create object for class collections we were using the following code but how can i use this class collections in java please help somebody. 

** DotNet Class Code **

    public class clstest
    
    dim intid as integer
    
    public property prpid()as integer
    
    get 
    
    return intid 
    
    end get
    
    set(value as integer)
    
    intid =value
    
    end set
    
    end class
    
    
    ** Form Load event **
    
    dim objcls as clstest=new list of(clstest)
    
    dim objtest=new clstest
    
    with objtest
    
    .prpid=1
    
    end with
    
    objcls.add(objtest)




How can i use class collections in java?
===

I'm new to android as well as java, in Dotnet if we want create object for class collections we were using the following code but how can i use this class collections in java please help somebody. 

** DotNet Class Code **

    public class clstest
    
    dim intid as integer
    
    public property prpid()as integer
    
    get 
    
    return intid 
    
    end get
    
    set(value as integer)
    
    intid =value
    
    end set
    
    end class
    
    
    ** Form Load event **
    
    dim objcls as clstest=new list of(clstest)
    
    dim objtest=new clstest
    
    with objtest
    
    .prpid=1
    
    end with
    
    objcls.add(objtest)



