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. It worked. Thank U!
View Tutorial          By: Abhijit Kurane at 2010-12-27 11:01:48

2. can you please explain this..!!

t =

View Tutorial          By: kalyan at 2011-06-30 00:01:10

3. hi please help me . i want the full code to send t
View Tutorial          By: Prashant at 2008-04-16 06:08:23

4. hi Ashray P Shetty,
I want assistance in th

View Tutorial          By: Shabbir Manasawala at 2010-11-19 02:02:43

5. Nice Explanation.....
View Tutorial          By: Vinoth at 2012-06-20 09:37:21

6. know someone how to compare various objects?

View Tutorial          By: Peter at 2009-10-07 07:32:31

7. Hi Andrew,

I have a java applicatio

View Tutorial          By: kumar at 2010-10-06 10:42:55

8. Nice its very good starter
View Tutorial          By: Gajula Mahesh at 2012-10-28 13:33:06

9. i nice programs tks
View Tutorial          By: jai at 2011-05-09 14:09:38

10. Hi,
I am Mahesh. i want to sending sms cod

View Tutorial          By: Mahesh at 2011-05-20 05:24:22