Results 1 to 5 of 5
Thread: Array cannot be resolved
- 10-07-2011, 07:59 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 12
- Rep Power
- 0
Array cannot be resolved
I am having this issue with this code "ArrayUtil cannot be resolved"
any help pleaseXML Code:import java.util.Arrays; public class InsertionDemo{ public static void main(String[]args) { int[] a = ArrayUtil.randomIntArray(20,100); System.out.println(Arrays.toString(a)); Insertion1 insert = new Insertion1(a); insert.sort(); System.out.println(Arrays.toString(a)); } }Last edited by aqeel2010; 10-07-2011 at 08:04 AM.
- 10-07-2011, 08:46 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,545
- Rep Power
- 11
Re: Array cannot be resolved
You will need to import the ArrayUtil class if you are going to use it.
- 10-07-2011, 04:38 PM #3
Member
- Join Date
- Jan 2011
- Posts
- 12
- Rep Power
- 0
Re: Array cannot be resolved
I did import it , and you can see in the code but the problem still exist
- 10-07-2011, 04:53 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,392
- Blog Entries
- 7
- Rep Power
- 17
- 10-07-2011, 06:38 PM #5
Member
- Join Date
- Jan 2011
- Posts
- 12
- Rep Power
- 0
Similar Threads
-
HttpServlet Cannot be resolved to a type
By chizbox in forum EclipseReplies: 3Last Post: 07-01-2012, 05:09 PM -
HttpServletRequest cannot be resolved-- Help me
By hphuoc in forum Java ServletReplies: 1Last Post: 04-26-2011, 09:23 AM -
HibernateUtil cannot be resolved
By fierof2 in forum Advanced JavaReplies: 14Last Post: 02-01-2011, 02:24 PM -
Progress bar no updating resolved
By Haarp425 in forum Threads and SynchronizationReplies: 2Last Post: 06-25-2010, 02:28 AM -
Filter cannot be resolved to a type??
By Harrie_KalaChakra in forum EclipseReplies: 1Last Post: 01-15-2010, 09:19 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks