Comment on Tutorial - Vector example in Java By Grenfel



Comment Added by : Srini

Comment Added at : 2015-04-05 17:00:58

Comment on Tutorial : Vector example in Java By Grenfel
HI Friends,

I am new to java and i have one small doubt. In the above program we are passing as v.addElement(new Integer(1)) and i written in method as v.addElement(45) and it is working fine. Can one explain what is the difference here.


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. hello everyone

i want to implement

View Tutorial          By: Prateek at 2010-09-05 00:40:57

2. please tell me.........
View Tutorial          By: case c++ at 2012-02-20 02:45:55

3. Thanks guys,
its working perfectly.

View Tutorial          By: Ajmal at 2015-03-25 08:30:07

4. examples are very use full
View Tutorial          By: keerthe at 2010-08-12 23:00:21

5. Highly appreciatable.Excellent Docs.
View Tutorial          By: Debi P Naik at 2010-05-04 05:55:45

6. Hai all, there is som question plzzzz help me
View Tutorial          By: chandra at 2011-10-12 09:07:39

7. hi every body i want full java code to send messag
View Tutorial          By: Yous at 2010-12-26 06:45:30

8. Many thanks for this tutorial. Exactly what I was
View Tutorial          By: Fedor Emelianenko at 2010-10-28 08:01:17

9. Why can't you just use an array for something like
View Tutorial          By: Andrea at 2012-10-18 00:17:48

10. Thank so much it helped me God bless :)
View Tutorial          By: Judito at 2014-06-14 06:52:18