It was
c++11 then I edited to fix the misspelling in the title and also to add
c++ per the wiki, and also for the visibility to close such an unclear question quickly, and then many moons later OP revealed they had no idea what they were doing and were using either Java or javascript. Which one? The world may never know.