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



Subscribe to Tutorials

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
thanks for nice tutorial. I have one

View Tutorial          By: Chanchal Prajapat at 2015-02-09 06:10:42

2. For Jaime,

Maybe using JavaScript f

View Tutorial          By: Jair Aviles at 2011-11-22 05:49:05

3. When i ran the code using 02 GSM X230D dongle i go
View Tutorial          By: azban at 2014-11-01 11:57:21

4. Thank you, Every thing is working fine...!!

View Tutorial          By: Purushothaman at 2009-04-10 07:18:38

5. Best example to explain Inheritance. thankyou for
View Tutorial          By: Suresh Lilhare at 2010-05-14 09:10:27

6. Sir your example is god
but i am surprisin

View Tutorial          By: Ata Ul Nasar at 2011-06-05 16:23:09

7. thks for help...
View Tutorial          By: Peps at 2010-01-05 02:34:15

8. Hello,
I've tried the above code, but I've

View Tutorial          By: Phyo Phyo at 2009-09-14 05:32:28

9. hi plz help
how do we change project develo

View Tutorial          By: pratik jogwar at 2012-06-07 19:58:47

10. Hello, your post helped me a lot with solving my o
View Tutorial          By: Florian Brunner at 2008-06-26 08:59:42