On Feb 4, 5:42 am, John Joseph <jjk_s...@yahoo.com> wrote:
> Hi
> I have some confusion with the eg in JavaBuidInClass .
> The program “StaticAndInstanceMethods.java” It has been asked to solve the
> error at line
> char f = String.charAt(2);
> I am not sure what I did is correct and according to the instructors
> expectation . I did it like this
> int t =2;
> String f = String.valueOf(t);
> System.out.println("value of f = " + f);
>
> Please comment on this
It seems correct to me.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to
javaprogrammingwithpassion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---