Complete the Method Smart Text Trim: Suppose that you have t…
Complete the Method Smart Text Trim: Suppose that you have to trim text at a word break and not exceed a given length of text provide a method that accepts 2 parameters the data in and the max length. Create a second method that overloads the first that takes 3 parameters, data in, max length and if ellipsis (…) should be added to the end if the text exceeds maximum length. Take your time with this, I recommend doing your development in IntelliJ. Paste the code for the separate class and tester here when finished. No scanners or anything like that needed.
Read Details