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. Those who want the details of JAVA should search f
View Tutorial          By: Amit Singh at 2011-11-13 11:42:42

2. Sir I want to information about "how to send
View Tutorial          By: murthy at 2010-02-17 07:15:18

3. Hi, i am new java, and i want to become gud develo
View Tutorial          By: reuben at 2012-12-20 14:27:08

4. really helpul........
pls mail me some more

View Tutorial          By: shivani at 2010-07-17 01:47:30

5. Hi,
I've tried this but got a problem. Firs

View Tutorial          By: Hendrik Jabs at 2009-12-10 02:46:13

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

7. Your article is very useful.

But I

View Tutorial          By: Me at 2013-04-07 10:20:00

8. can any body help me,i need to send a sms from sim
View Tutorial          By: vinayaka DJ at 2011-11-14 12:44:01

9. i've run d program and its works
View Tutorial          By: okeaghala nneka at 2012-03-31 10:58:13

10. how to import myownclass into another class same p
View Tutorial          By: rana at 2013-04-19 17:32:08