please read the java tutorial & complete reference. if your question is still different, plz explain with details..
regards, jitesh dundas On 8/8/10, Pete Soper <[email protected]> wrote: > On 8/8/2010 10:21 AM, sunil sharma wrote: >> Hi Group >> >> May i know how to initialize the character in java. > > I probably don't understand your question. Do you mean this? > > > public class Foo { > static char c = 'X'; > > static char[] a = new char[] { > 'p', > 'q', > 'r' > }; > > public static void main(String args[]) { > System.out.println(c); > System.out.println(a[1]); > } > } > > -Pete > > -- > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/javaprogrammingwithpassion?hl=en -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
