(String args[])
| 8 | System.out.println(); |
| 9 | } |
| 10 | public static void main(String args[]) { |
| 11 | Scanner sc = new Scanner(System.in); |
| 12 | String str = sc.next(); |
| 13 | System.out.println(str); |
| 14 | |
| 15 | String firstName = "Tony"; |
| 16 | String lastName = "Stark"; |
| 17 | String fullName = firstName + " " + lastName; |
| 18 | System.out.println(fullName); |
| 19 | |
| 20 | System.out.println(fullName.length()); |
| 21 | System.out.println(fullName.charAt(0)); |
| 22 | } |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected