hii.. I am curious about your code why after split the string name, for example "Franz Gabriel" and after that,
" int lengthOfFirstNameOfPerson1 = nameArrayForPerson1[0].length (); " Franz is 5 length assign to integer variable "lengthOfFirstNameOfPerson1" ? Franz is string type why Java could save in variable "lengthOfFirstNameOfPerson1" type of Integer without casting? Or Java only used length of string of 5 only, or just only to compare with another String variable? Somebody help please?? I really curious about your example in this homework 1036-Java Array. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
