Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javaÃæÊÔÌ⣡¾ä×Ó°´ÕÕµ¥´Ê·´Öã¡

Óöµ½Ò»¸öjava±à³ÌÃæÊÔÌ⣬µ±Ê±Ã»ÓÐд³öÀ´£¬»ØÀ´×ÐϸÏëÁËÏ룬д³ö´ð°¸£¬Ò»¹²ÒÔºó²Î¿¼£¡
ÒªÇ󣺽«×Ö·û´®"I am a good student."ת»»³É"student. good a am I"
java´úÂëΪ£º
public class Application
{
 private String s;
 public void setS(String s)
 {
  s=s;
 }
 public String getS()
 {
  return s;
 }
 private static String sr(String s)
 {
  int l=s.length();
  String space=" ";
  String strnew="";
  
  int i=0;
  while(s.contains(space))
  {
   int spaceIndexS=s.lastIndexOf(space);
   if(i==0)
   {
   strnew=strnew+s.substring(spaceIndexS+1);
   }
   else
   {
   strnew=strnew+s.substring(spaceIndexS); 
   }
   s=s.substring(0,spaceIndexS);
   i++; 
  }
  strnew+=space+s;
  return strnew;
 }
 public static void main(String[] args)
 {
  
  Application a=new Application("I am a good student.");
   
  System.out.println(a.sr(a.getS));
  
 }
}


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

Java֮·¼Æ»®

ÔÚ¿ªÊ¼Õâ¸ö¼Æ»®Ç°£¬ÎÒÏ뻹ÊÇÏëºÍ´ó¼Ò·ÖÏíÒ»ÏÂÎÒ¶ÔδÀ´Java֮·µÄã¿ã½£¬ËäÈ»JavaµÄĸ¹«Ë¾SunÔÚ¾­ÊÜ×ÅOracle¹«Ë¾ÊÕ¹º£¬µ¼ÖÂ×ÅÕû¸öJavaÕóÓªµÄÒ»ÕóÒìÒ飬µ«ÊÇ×îеÄJavaEE 1.6µÄ±ê×¼µÄÖƶ¨£¬»¹ÊÇ¿ÉÒÔ¿´³öJavaÏÖÔÚÈÔÈ»³äÂú×ÅÉúÃüÁ¦£¬ÖÁÉÙÔÚ×î½ü5Ä껹Êǻᱣ³ÖËûÇ¿´óµÄÉúÃüÁ¦¡£         ......

java×Ü½á µÚ°ËÕÂ

µÚ°ËÕÂ Òì³£
Òì³£
Á½Àà ´íÎóerror ϵͳÄÚ²¿´íÎó Î¥Àýexception ÆäËû±à³Ì´íÎó»òÍâÔÚÒòËØ¡¿
Òì³£´¦Àí»úÖÆ
Å׳öÒì³£throw µ±²»È·¶¨ÎªºÎÖÖÒì³£ºÍ²»È·¶¨Ôõô´¦ÀíµÄʱºòʹÓÃ
²¶»ñÒì³£catch
try{}
catch(){}
finally{}Ϊͳһ³ö¿Ú
fileinputstreamÀàµÄ³ÉÔ±·½·¨read()µÄ¹¦ÄÜÊÇÿ´Î´ÓÏàÓ¦µÄ(±¾µØΪasc2Âë)ÎļþÖжÁ³öÒ»¸ö×Ö½Ú ......

»ùÓÚJava 2ƽ̨µÄÒýÓÃÀàʹÓÃÖ¸ÄÏ

Java 2 ƽ̨ÒýÈëÁË java.lang.ref °ü£¬ÆäÖаüÀ¨µÄÀà¿ÉÒÔÈÃÄúÒýÓöÔÏ󣬶ø²»½«ËüÃÇÁôÔÚÄÚ´æÖС£ÕâЩÀ໹ÌṩÁËÓëÀ¬»øÊÕ¼¯Æ÷£¨garbage collector£©Ö®¼äÓÐÏ޵Ľ»»¥¡£Peter Haggar ÔÚ±¾ÎÄÖзÖÎöÁË SoftReference ¡¢ WeakReference ºÍ PhantomReference ÀàµÄ¹¦ÄܺÍÐÐΪ£¬²¢¾ÍÕâЩÀàµÄʹÓøø³öÁËһЩ±à³Ì·ç¸ñÉϵĽ¨Òé¡£
µ±ÔÚ Ja ......

javaÖеÄÀàÐÍת»»

   javaÖеÄÀàÐÍת»»¡£
   ¶ÔÓÚ»ù±¾Êý¾ÝÀàÐÍ£¬µ±ÓÉ“Õ­ÀàÐ͔תΪ“¿íÀàÐ͔ʱ£¨ÀýÈ磺double d = 1;), ±àÒëÆ÷»á×Ô¶¯ÌáÉýintÐ͵½doubleÐÍ£¬ ¶ø¶ÔÓÚÓÉ“¿íÀàÐ͔תΪ“Õ­ÀàÐÍ”£¨ÀýÈ磺  int i = (int)1.0;£© ʱ£¬ÓÉÓÚת»»Ê±¿ÉÄÜÓÐÐÅÏ¢¶ªÊ§µÄÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ