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. very informative and hope it will give some more d
View Tutorial          By: mmt at 2009-12-16 02:16:45

2. Interesting introduction...thank you
View Tutorial          By: arun at 2010-04-05 05:59:34

3. Thanx..very useful in this pgm..
View Tutorial          By: priya at 2013-02-06 10:54:44

4. great explaination !!!
View Tutorial          By: aman at 2012-10-02 06:55:55

5. Really help ful. To read abt jsp and servlet chk o
View Tutorial          By: Raju at 2009-07-13 11:25:41

6. The example given here are simple and easy to run
View Tutorial          By: Kranti at 2012-04-26 10:18:34

7. only last code is gud one (DateFormat )... otherwi
View Tutorial          By: Gaurav at 2013-01-04 09:18:43

8. Hey is there any way to export datagrid to crystal
View Tutorial          By: Anu at 2009-05-08 13:11:48

9. It's a useful explanation, but i wanna known how c
View Tutorial          By: Noe Marin at 2008-01-25 13:27:57

10. very good
View Tutorial          By: amit at 2009-10-24 01:55:26