C++ facilitates you to specify more than one definition for a function name or an operator in the same scope. It is called function overloading and operator overloading respectively.
To reduce the complexity and simplify the language, multiple inheritance is not supported in java in case of class
The "delete" operator is used to release the dynamic memory created by "new" operator.
A scope resolution operator(::) is used to define the member function outside the class.
in java , static and non-static variables both can be accessed in instance methods.
Constructor is just like a method that is used to initialize the state of an object. It is invoked at the time of object creation.
IN JAVA The local variables are not initialized to any default value, neither primitives nor object references.