TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Vector Program in Java
Alagunila Meganathan
Aug 03
2016
Code
506
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
VectorDemo.rar
public
class
varconstltr{
public
static
final
int
constint=
5
;
public
static
void
main(String[] args){
int
intvariable;
for
(
int
i =
0
;i <=
10
;i++){
intvariable = i;
System.out.println(
"All the values are : \n intvariable = "
+ intvariable +
"\nconstint = "
+ constint);
}
System.out.println(
"Directory of this file : c:\\chandan\\varconstltr.java"
);
}
}
Java
Vector