loading
Java Operator Precedence Table

Java Operator Precedence Table

decide which to use first

Reading Notes

2019.12.09

0 #java

                        PHRhYmxlIGNsYXNzPSJ0YWJsZSB0YWJsZS1ib3JkZXJlZCB0YWJsZS1ob3ZlciB0YWJsZS1zdHJpcGVkIj4KICA8dGhlYWQ+CiAgICA8dHI+CiAgICAgIDx0aCBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyIj5QcmVjZWRlbmNlPC90aD4KICAgICAgPHRoPk9wZXJhdG9yPC90aD4KICAgICAgPHRoPlR5cGU8L3RoPgogICAgICA8dGg+QXNzb2NpYXRpdml0eTwvdGg+CiAgICA8L3RyPgogIDwvdGhlYWQ+CiAgPHRib2R5PgogICAgPHRyPgogICAgICA8dGQgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlciI+MTU8L3RkPgogICAgICA8dGQ+PGNvZGUgY2xhc3M9Imxhbmd1YWdlLXBsYWludGV4dCBoaWdobGlnaHRlci1yb3VnZSI+KCk8L2NvZGU+PGJyIC8+PGNvZGUgY2xhc3M9Imxhbmd1YWdlLXBsYWludGV4dCBoaWdobGlnaHRlci1yb3VnZSI+W108L2NvZGU+PGJyIC8+PGNvZGUgY2xhc3M9Imxhbmd1YWdlLXBsYWludGV4dCBoaWdobGlnaHRlci1yb3VnZSI+wrc8L2NvZGU+PC90ZD4KICAgICAgPHRkPlBhcmVudGhlc2VzPGJyIC8+QXJyYXkgc3Vic2NyaXB0PGJyIC8+TWVtYmVyIHNlbGVjdGlvbjwvdGQ+CiAgICAgIDx0ZD5MZWZ0IHRvIFJpZ2h0PC90ZD4KICAgIDwvdHI+CiAgICA8dHI+CiAgICAgIDx0ZCBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyIj4xNDwvdGQ+CiAgICAgIDx0ZD48Y29kZSBjbGFzcz0ibGFuZ3VhZ2UtcGxhaW50ZXh0IGhpZ2hsaWdodGVyLXJvdWdlIj4rKzwvY29kZT48YnIgLz48Y29kZSBjbGFzcz0ibGFuZ3VhZ2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al' site holds the exploration of my quirky thoughts and random adventures through life. Hope you enjoy reading and perusing my posts.

YOU MAY ALSO LIKE

HTML 相对路径和绝对路径区别分析

Web Notes

2015.09.26

HTML 相对路径和绝对路径区别分析

HTML 初学者会经常遇到这样一个问题,如何正确引用一个文件。比如,怎样在一个 HTML 网页中引用另外一个 HTML 网页作为超链接(hyperlink),怎样在一个网页中插入一张图片。如果你在引用文件时(如加入超链接,或者插入图片等),使用了错误的文件路径,就会导致引用失效(无法浏览链接文件,或无法显示插入的图片等)。

Using Liquid in Jekyll - Live with Demos

Web Notes

2016.08.20

Using Liquid in Jekyll - Live with Demos

Liquid is a simple templating language that Jekyll uses to process pages on your site. With Liquid you can output an modify variables, have logic statements inside your pages and loop over content.

Practising closures in JavaScript

JavaScript Notes

2018.12.17

Practising closures in JavaScript

JavaScript is a very function-oriented language. As we know, functions are first class objects and can be easily assigned to variables, passed as arguments, returned from another function invocation, or stored into data structures. A function can access variable outside of it. But what happens when an outer variable changes? Does a function get the most recent value or the one that existed when the function was created? Also, what happens when a function invoked in another place - does it get access to the outer variables of the new place?