How do I solve this piece of code in Java to return true for special characters? /**
Fantastic news! We've Found the answer you've been seeking!
Question:
How do I solve this piece of code in Java to return true for special characters?
/** * This method determines if a character is special character or not. * A character is considered special if it is not a letter, not * a digit and not a punctuation. * @param c the character * @return true if the character is special character, false otherwise. */ public static boolean isSpecial(char c) { // type code here
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: