# I'm trying to create an array of handles for a class, by randomize function I'll get the "no of transcations", this determines the no of handles to be created.class\_name obj\_name\[transactions\]; is this right?

**URL:** <https://verificationacademy.com/forums/t/im-trying-to-create-an-array-of-handles-for-a-class-by-randomize-function-ill-get-the-no-of-transcations-this-determines-the-no-of-handles-to-be-created-class-name-obj-name-transactions-is-this-right/31031>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, class-handle\
**Created:** [September 15, 2015, 5:10pm UTC](https://verificationacademy.com/forums/t/im-trying-to-create-an-array-of-handles-for-a-class-by-randomize-function-ill-get-the-no-of-transcations-this-determines-the-no-of-handles-to-be-created-class-name-obj-name-transactions-is-this-right/31031 "2015-09-15T17:10:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ammu4392](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@Ammu4392](https://verificationacademy.com/forums/u/Ammu4392)\
**Post date:** [September 15, 2015, 8:11pm UTC](https://verificationacademy.com/forums/t/im-trying-to-create-an-array-of-handles-for-a-class-by-randomize-function-ill-get-the-no-of-transcations-this-determines-the-no-of-handles-to-be-created-class-name-obj-name-transactions-is-this-right/31031/5 "2015-09-15T20:11:36Z")

</div>

_In reply to [bmorris](https://verificationacademy.com/forums/t/im-trying-to-create-an-array-of-handles-for-a-class-by-randomize-function-ill-get-the-no-of-transcations-this-determines-the-no-of-handles-to-be-created-class-name-obj-name-transactions-is-this-right/31031/4):_

Yes. But does soemthing like that works?

---

_[View the full topic](https://verificationacademy.com/forums/t/im-trying-to-create-an-array-of-handles-for-a-class-by-randomize-function-ill-get-the-no-of-transcations-this-determines-the-no-of-handles-to-be-created-class-name-obj-name-transactions-is-this-right/31031)._
