Comment on Tutorial - Using substring( ) in Java By Fazal



Comment Added by : bond

Comment Added at : 2014-08-16 17:02:10

Comment on Tutorial : Using substring( ) in Java By Fazal
import java.io.*;
class CharaaDemofromnet
{
public static void main(String args[])throws IOException
{

char arr[]={'a','b','c'};
String s = new String(arr);
int v=s.length();
for(int k=0;k<v;k++)
{
for(int j=0;j<v;j++)
{
for(int i=0;i<v-j-k;i++)
{
System.out.print(arr[i]);
}
System.out.println();
}
}
}
}


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 IDK,
You close any applications includin

View Tutorial          By: Steven at 2008-12-30 03:14:33

2. good site for buggners
View Tutorial          By: sivannaadhbaazi karampudi at 2011-12-01 15:37:55

3. Hello there , i am unable to understand read and w
View Tutorial          By: deepak at 2014-12-10 14:04:42

4. Thanks that made this concept of memory very cleat
View Tutorial          By: Tarak at 2009-06-24 07:58:04

5. when i am trying to compile your program one error
View Tutorial          By: anindya at 2011-11-23 03:00:49

6. nice ....Simple undersstanding..
View Tutorial          By: Anjaneyulu at 2013-06-15 04:43:45

7. gud example, we welcome you
View Tutorial          By: jasim Khalid almurakh meherbani at 2010-09-20 03:14:25

8. How would you use a switch statement to determine
View Tutorial          By: Shivak at 2013-09-27 01:48:41

9. What about object bean with view scope?
View Tutorial          By: Awo at 2012-02-11 12:17:36

10. Thank you Sir.
View Tutorial          By: Dinesh at 2015-08-25 10:41:30