1.The + symbol works with pairs of strings as well as pairs of integers. Using the same operator for values of different types is called operator overloading. Now, “overloading” may sound like a bad thing, but actually it can be a good thing. Doesn’t it make sense that strings are joined using the plus sign? You immediately understand what it means. Implemented well, operator overloading can make for clearer and more elegant code.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here