Skip to content

Commit

Permalink
Updated op-loading
Browse files Browse the repository at this point in the history
  • Loading branch information
wajahatkarim3 committed Aug 1, 2018
2 parents 79c8b4f + cc51587 commit 055be53
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kotlin/op-loading.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Operator Overloading in Kotlin

Kotlin supports a technique called **conventions**, everyone should be familiar with. For example, if you define a special method `plus` in your class, you can use the `+` operator *by convention*: That's called Kotlin Operator Overloading.
Kotlin supports a technique called **conventions**, everyone should be familiar with. For example, if you define a special method `plus` in your class, you can use the `+` operator *by convention*: That's called Kotlin Operator Overloading.







0 comments on commit 055be53

Please sign in to comment.