Ask the Community
Ask any professional question and get answers from other specialists.
no no u can never force the jvm for garbage collection. System.gc() method only sends the request to jvm for the garbage collection. its all depend on jvm wheather it has ... See More
there is no replace all in J2ME since it uses old java1.2 (AFAIK), but here is a replacement method you can use privateString replace(String str,String pattern,String ... See More
The function of "replaceAll" is to substitute all occurrences of a particular string in another string. Following is the syntax of this method : public String ... See More
1. byte b=5 (can hold upto127 without casting) int a=6 (all integer literals are by default int) a= a+b -> will always be int even if you dont cast it. but b=a+b -> ... See More