Date StringsAnnonymous User September 24, 2011 at 8:11 AM
This is a cool way to write the date. Reduces a lot of confusion. This page would be more interesting and pleasing to visit if there were a visitor counter on it (as well as all the other pages in the website).
Date StringsAnnonymous User September 24, 2011 at 8:11 AM
This is a cool way to write the date. Reduces a lot of confusion. This page would be more interesting and pleasing to visit if there were a visitor counter on it (as well as all the other pages in the website).
answer of commentrajan October 19, 2011 at 12:46 AM
import java.util.*; import java.long.*; public class A4 { public static void main(String args[]) { System.out.println("enter the name,desiganaton,qualifacation,country"); } static intx=1; Scanner sc=new Scanner(System.in); String desiganation=sc.nextline(); String qualifacation=sc.nextline(); String country=sc.nextline(); String name=sc.nextline(); String name2=name1.substring(0,2); String country=country.substring(0,2); String y=String.valueOf(); String id=name2+desiganaton+qualifacation+country+y ; System.out.println("id is"+id); x++; }
Is it correct?muthu March 14, 2012 at 3:54 PM
did this code reach the target of conversion simple format. ?
JavaFresheranitha March 18, 2012 at 1:00 PM
Give Some more Examples
Thankyuan April 3, 2012 at 6:15 AM
Thank you very much!!! :)
errorSudipta June 27, 2012 at 6:07 PM
1. y is used to represent an year which is an integer value. The value will be y-19000. >> rectify "y-19000" as "y-1900"
Nice TutorialXeeshu July 27, 2012 at 9:17 AM
Gr8 tutorial. I love it. 10/10
Post your Comment