{"id":132109,"date":"2019-05-01T05:19:00","date_gmt":"2019-04-30T21:19:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=4bdf71d9b26f60ef72c0419baed44b1b"},"modified":"2019-05-01T05:19:00","modified_gmt":"2019-04-30T21:19:00","slug":"java-101-evaluate-java-expressions-with-operators-4","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/05\/01\/java-101-evaluate-java-expressions-with-operators-4\/","title":{"rendered":"Java 101:  Evaluate Java expressions with operators"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>Java applications process data by evaluating <em>expressions<\/em>, which are combinations of literals, method calls, variable names, and operators. Evaluating an expression typically produces a new value, which can be stored in a variable, used to make a decision, and so on.<\/p>\n<p>In this tutorial, you will learn how to write expressions for your Java programs. In many cases you&#8217;ll use operators to write your Java expressions, and there are many <em>types of operators <\/em>to know how to use. I&#8217;ll briefly introduce Java&#8217;s operator types (including the additive, bitwise, logical, conditional, shift, and equality types) and their operands. You&#8217;ll also learn about important concepts such as operator overloading and operator precedence, and you&#8217;ll see a demonstration of primitive-type conversion. I&#8217;ll conclude with a small Java program that you can use to practice primitive-type conversions on your own.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/2940467\/java-101-evaluate-java-expressions-with-operators.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>Java applications process data by evaluating expressions, which are combinations of literals, method calls, variable names, and operators. Evaluating an expression typically produces a new value, which can be stored in a variable, used to make a dec&#8230; <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/05\/01\/java-101-evaluate-java-expressions-with-operators-4\/\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":123,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"slim_seo":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[12,2,315,240],"tags":[398,402,397,414,413,528,410,409,407,408,406,399,400,394,318,526,375,523,183,184,529,524,232,10,401,396,381,403,412,411,395,405,404,525,457,530,363,384,321,320,319,316,26,527,317],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-ymN","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/132109"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/users\/123"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/comments?post=132109"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/132109\/revisions"}],"predecessor-version":[{"id":132110,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/132109\/revisions\/132110"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=132109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=132109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=132109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}