public class TweetCounter { public static void main(String[] args) { String tweet = "Liz Lemon, ninjas are kind of cool... I just dont know any personally. Get on that."; // What's the character count? System.out.println(tweet.length()); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter