{"id":4,"date":"2018-02-13T12:05:53","date_gmt":"2018-02-13T12:05:53","guid":{"rendered":"https:\/\/www.onlinenote.in\/java\/?p=4"},"modified":"2019-06-10T10:59:09","modified_gmt":"2019-06-10T10:59:09","slug":"find-upper-case-lower-case","status":"publish","type":"post","link":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/","title":{"rendered":"Find Upper Case &#038; Lower Case"},"content":{"rendered":"<p>Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.<\/p>\n<pre class=\"lang:java decode:true \" title=\"Find Upper Case &amp; Lower Case\">String password = \"Password\";\r\nboolean hasUppercase = !password.equals(password.toLowerCase());\r\nboolean hasLowercase = !password.equals(password.toUpperCase());<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters. String password = &#8220;Password&#8221;; boolean hasUppercase = !password.equals(password.toLowerCase()); boolean hasLowercase = !password.equals(password.toUpperCase()); &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Find Upper Case &amp; Lower Case - Java<\/title>\n<meta name=\"description\" content=\"Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Find Upper Case &amp; Lower Case - Java\" \/>\n<meta property=\"og:description\" content=\"Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/\" \/>\n<meta property=\"og:site_name\" content=\"Java\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-13T12:05:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-10T10:59:09+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/\",\"url\":\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/\",\"name\":\"Find Upper Case & Lower Case - Java\",\"isPartOf\":{\"@id\":\"https:\/\/www.onlinenote.in\/java\/#website\"},\"datePublished\":\"2018-02-13T12:05:53+00:00\",\"dateModified\":\"2019-06-10T10:59:09+00:00\",\"author\":{\"@id\":\"\"},\"description\":\"Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.onlinenote.in\/java\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find Upper Case &#038; Lower Case\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.onlinenote.in\/java\/#website\",\"url\":\"https:\/\/www.onlinenote.in\/java\/\",\"name\":\"Java\",\"description\":\"Code Snippets\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.onlinenote.in\/java\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Find Upper Case & Lower Case - Java","description":"Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/","og_locale":"en_US","og_type":"article","og_title":"Find Upper Case & Lower Case - Java","og_description":"Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.","og_url":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/","og_site_name":"Java","article_published_time":"2018-02-13T12:05:53+00:00","article_modified_time":"2019-06-10T10:59:09+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/","url":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/","name":"Find Upper Case & Lower Case - Java","isPartOf":{"@id":"https:\/\/www.onlinenote.in\/java\/#website"},"datePublished":"2018-02-13T12:05:53+00:00","dateModified":"2019-06-10T10:59:09+00:00","author":{"@id":""},"description":"Given a string, bellow it shows the boolean condition to find Lowercase characters, Uppercase characters.","breadcrumb":{"@id":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.onlinenote.in\/java\/find-upper-case-lower-case\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.onlinenote.in\/java\/"},{"@type":"ListItem","position":2,"name":"Find Upper Case &#038; Lower Case"}]},{"@type":"WebSite","@id":"https:\/\/www.onlinenote.in\/java\/#website","url":"https:\/\/www.onlinenote.in\/java\/","name":"Java","description":"Code Snippets","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.onlinenote.in\/java\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":""}]}},"_links":{"self":[{"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/posts\/4"}],"collection":[{"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/comments?post=4"}],"version-history":[{"count":3,"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/posts\/4\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/posts\/4\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/media?parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/categories?post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onlinenote.in\/java\/wp-json\/wp\/v2\/tags?post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}