Managed code is computer program code that requires and will execute only under the management of a Common Language Infrastructure (CLI); Virtual Execution System (VES); virtual machine, e.g. .NET, CoreFX, or .NET Framework; Common Language Runtime (CLR); or Mono.
The true and fine distinction between managed and unmanaged code is prevalent and only relevant when developing applications that interact with CLR implementations.
older programming languages have been ported to the CLR, the differentiation is needed to identify managed code, especially in a mixed setup.
A source of confusion was created when Microsoft started connecting the .NET Framework with C++, and the choice of how to name the Managed Extensions for C++.
Google also mentions that Java and Kotlin are managed code in their Android NDK JNI documents.