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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. hi ,
this is prakash and i want to know how
View Tutorial By: prakash at 2010-05-24 07:27:46
2. great thanks a lottttttttttttttttt
View Tutorial By: reshma at 2011-06-13 04:35:44
3. can any body help me how to execute this code ....
View Tutorial By: nikhil at 2009-06-04 23:10:30
4. It works great,
my code looks like this:
View Tutorial By: Anonymous at 2009-04-11 04:19:28
5. java.lang.IllegalArgumentException means usually t
View Tutorial By: Seink at 2008-11-12 11:03:00
6. php-cgi.exe return popup "is not a valid Win3
View Tutorial By: noob at 2013-06-30 09:47:38
7. the ans is good.now i cleared my dout.and the exam
View Tutorial By: siva at 2011-12-07 14:00:13
8. It's good but not easily understandable....
View Tutorial By: koshal at 2010-12-19 23:32:05
9. Hi. When i click on Install certificate. It tells
View Tutorial By: jaris at 2011-10-18 11:00:41
10. Hey thnx. Solved my "inconvinience" ;P
View Tutorial By: Hesam Ossanloo at 2013-12-19 15:13:31