[clike mode] Add syntax examples for C++ & Java.