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

Java program to get location meta data from an image

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

Archived Comments

1. I want to creat a bilingual dictionary for mobile
View Tutorial          By: Maryam at 2011-01-25 02:28:44

2. Nice Explanation
View Tutorial          By: sam at 2010-11-24 02:23:57

3. Thanx u m at lab..n u made me complete my prog!
View Tutorial          By: Liza at 2009-12-09 23:03:51

4. heyy dis is not working with me .. plz suggest

View Tutorial          By: sahil at 2012-10-26 11:03:41

5. The only thing that really was the solution to my
View Tutorial          By: nick marinho at 2010-07-24 17:45:59

6. i am newly in java, i want to learn about this and
View Tutorial          By: gelen at 2010-11-23 02:57:15

7. Hi all, i have tried above code, but am getting fo
View Tutorial          By: shalini Iyer at 2008-04-22 01:20:32

8. string strInsert = "Insert into [Sheet1$](F1,
View Tutorial          By: Sagar at 2011-05-12 06:47:13

9. Your answer was right on the money! After searchi
View Tutorial          By: ooh la la at 2013-07-19 20:33:41

10. Sir. Please give an example which is small and und
View Tutorial          By: Rafik at 2011-08-17 19:45:04