Code which behaves like each method of a queue

i am fresher in this domain and i want to know how to write the code using task or function which behaves like each method of a queue in detail

In reply to nikhilreddy234:

The code in section 7.10.4 Updating a queue using assignment and unpacked array concatenation
should give you a good start.

i am not able to find where these sectons are can you please help.

In reply to nikhilreddy234:

Do you need help finding the SystemVerilog LRM? or do not know how to read/search a PDF file?

Yes, in finding the SystemVerilog LRM