sentence: applying the const qualifier to instance methods thus is an essential feature for const-correctness , and is not available in many other object-oriented languages such as java and c# or in microsoft 's c++/cli or managed extensions for c++ .