No it's not. Please don't say things when you have absolutely no idea what you're talking about. GS2 is nothing like
Java or
C++. GS2 is most similar to
JavaScript, which contrary to what the name suggests, is completely unrelated to
Java.
C++ is the lowest level of the the languages (Closest to machine code) because it forces you to manage your own memory. It has the concept of pointers, while Java & Javascript do not, using references instead. C++ is static typed & follows C-Style syntax.
Java is a spiritual successor to C++ in that it follows the object oriented paradigm. It is Static typed & follows C-Style syntax.
JavaScript is the highest level language of the three, as the name suggests it is a scripting language (not a programming language) and is therefore interpreted by another application. (Oftentimes a browser written in c++). Javascript is dynamic typed, and while being based on C-Style syntax, differs slightly in some areas.
GS2 is barely an OOP language, it is more event driven in nature. (for example, the function
onCreated() is called every time the script is initialized. GS2 has dynamic types, and a syntax nearly identical to Javascript.