Hi all,

We know that, After fetching values form database it will store in
ResultSet. From Result we fetch the values using setXXX method & In this
setXXX() method we pass the index number.

Here why index number starts with one but not zero. Generally java index
number will stares by zero like array, LinkedList, list ect...

----
Thanks,
Santosh Jagade

On Thu, Mar 10, 2011 at 4:52 PM, deepak murali <deepakmural...@gmail.com>wrote:

> in object oriented programming language like c++, we use access
> specifiers like public,private and protected,
> i know how to use them,but dont know what is main advantage of using
> them.
>
> are those access specifiers used to protect files, hide passwords etc
> or they serve for different purpose
>
> --
> To post to this group, send email to
> javaprogrammingwithpassion@googlegroups.com
> To unsubscribe from this group, send email to
> javaprogrammingwithpassion+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en

-- 
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to