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. For me it is executing without error, But not send
View Tutorial          By: Vijay at 2011-02-19 01:51:08

2. Thanks a lot man with the server -side code.
View Tutorial          By: bot at 2011-12-03 15:04:28

3. Thanks for the explanation. I had read about this
View Tutorial          By: Sidharth Sahoo at 2012-09-12 16:26:07

4. Thanks, much appreciated!
Saved a great dea

View Tutorial          By: alan at 2009-08-14 01:35:01

5. hey i found answer for
Error loading win32c

View Tutorial          By: Dinesh557 at 2008-09-23 05:14:09

6. i am getting the following error:
cannot fi

View Tutorial          By: santhosh at 2009-09-24 09:13:57

7. the best site i have found so far for clearing my
View Tutorial          By: darkknight at 2013-06-05 05:54:10

8. nice one
View Tutorial          By: priyaaaaaaaaaaaaaaa at 2011-06-21 08:04:39

9. # include <iostream.h>
int main ()
View Tutorial          By: nazarine at 2011-07-06 06:17:10

10. Hi,it's really nice to see all the comments of the
View Tutorial          By: sraban at 2011-10-13 12:13:38