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. hi can u send me the complete working code for sen
View Tutorial          By: gautami at 2007-12-04 01:13:45

2. ahmm I guess This is a VB6 program? or how can I g
View Tutorial          By: kelvin at 2011-02-27 14:07:44

3. Hey,
The above tutorial is for SQL server,<

View Tutorial          By: Anil at 2012-02-07 15:58:06

4. hi this is from Ashok....
can you send the

View Tutorial          By: Ashok at 2015-04-16 11:51:51

5. what is the use of int getch(void)
and unge

View Tutorial          By: sania at 2014-06-04 17:15:30

6. HI, like some guys in this tutorial I get this pro
View Tutorial          By: omar carpio at 2009-09-06 13:17:37

7. mail goes as a single line statement, how to prese
View Tutorial          By: kishor at 2011-06-23 13:35:21

8. i don't know anything about computer..........
View Tutorial          By: Ami weds Pappu....... at 2013-02-14 04:00:11

9. Can anybody tell the steps to go ahead with the ex
View Tutorial          By: shikha at 2009-11-03 10:42:34

10. Si AIZA DIN< DI MARUNONG MAGTURO
View Tutorial          By: Agnes at 2010-06-25 22:34:29