| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
5 comments so far (post your own) View All Comments Latest 10 Comments:how can i make a program that ask the user to input integers, then evaluate it and say whether the array is a series of two or more adjacent elements of the same value....
example:
input : 1 1 2 2 3
output: 2
tnx...
Posted by ree on Sunday, 11.30.08 @ 05:58am | #82194
hi,
how can i declare sentence "remove this" as array,then read array[0]=remove and array[1]=this
Posted by dee on Wednesday, 12.12.07 @ 16:30pm | #41944
Sir,
Can U Give Me An Example on Dynamically Initalizing The Arrays i.e., By Reading Using System.in.read()
Posted by Praneeth Kumar on Wednesday, 12.5.07 @ 10:49am | #41332
Hi Anand,
Thanks for your comments. We have just tested the application and found the output in the following format:
C:\>java StringCharacter
chanan
tapan
Amar
santosh
deepak
You are right the values in the array will be printed in the sequence it was added.
Thanks for your comment.
Posted by Deepak Kumar on Monday, 05.21.07 @ 18:06pm | #16920
class StringCharacter
{
static String[] roseindia={"chanan","tapan","Amar","santosh","deepak"};
public static void main(String args[]){
for(int i=0;i<5;i++){
System.out.println(roseindia[i]);
}
}
}
Output of program:
C:\amar work>javac StringCharacter.java
C:\amar work>java StringCharacter
chandan
Amar
tapan
santosh
deepak
C:\amar work>
My question: Now i want to know that how amar has been chosen between them for treatment?
Posted by Anand Kumar Singh on Monday, 05.21.07 @ 17:22pm | #16918