010 - String Methods Practice 1
![010 - String Methods Practice 1](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fyvz58%2Fbtqz3AZ8aos%2FV1lzge9NOw5xm5yuhEPXA1%2Fimg.png)
010 - String Methods Practice 1
Given a String (already declared for you as str), do the following: Print out the following: "The first 3 letters of ___ is ___" For example, if the input is "banana", your output should be "The first 3 letters of banana is ban" import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); System.out.print("in:"); String str = inp.nextLine(..