• Post Reply Bookmark Topic Watch Topic
  • New Topic

where is array class?  RSS feed

 
ganesh pol
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi frineds in java array are object where is position of array in java api
i m not talking about Arrays class from util
 
Krishnan Loganathan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ganesh,

I cannt able to get your question. Will u pls explain it little bit eloborately ?

Regards,
Loga
 
ganesh pol
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi krishnan
do u know most of the time during coding we use java api doc
in that all classes of that particular jdk with methods in them are given
for example
java.util.HashMap
etc
array is also object in java
we create array object
by
int []i= new int[3];

here we are creating array object of type integer

where is location of such array class in Java API Hierarchy
 
Nigel Browne
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read through the java tutorial, here is a link to the section on Arrays
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ganesh pol:
hi frineds in java array are object where is position of array in java api
i m not talking about Arrays class from util


Even though arrays are objects, there is no array class, at least not one that is publicly accessible. What prompted this question? In other words, why do you ask this?

Layne
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!