File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes A question with k&b Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "A question with k&b" Watch "A question with k&b" New topic

A question with k&b

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Dear Rancher

I would liek to know that why the subscript of array start from 0 why not from 1 in many language like c,c++ or java.

well you may say that it has been rules but why it is rule.

please specify me i am so anthustic to know that why the array subscript start from 0 why not from 1.

with regard

Arun kumar maalik
Matt Russell
Ranch Hand

Joined: Aug 15, 2006
Posts: 165
Have a read of this Wikipedia article:

Inquisition: open-source mock exam simulator for SCJP and SCWCD
I agree. Here's the link:
subject: A question with k&b
It's not a secret anymore!