Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to extract array content at fixed range

819932Dec 27 2010 — edited Dec 27 2010
Hi all,

Says that i have an array B with size 100 holding content {1,2,3,4,5,6,7,8,9,10.......100}.

May i know how to display the content of array from index 20 to 80 without using for loop?

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2011
Added on Dec 27 2010
9 comments
225 views