Kotlin - Class Instantiating classes

Introduction

In Kotlin you would not use new keyword to create class instance.

Kotlin treats calling a constructor function the same as a normal function via the constructor function using the name of the class.

Arguments are passed in as normal:

val file = File("/yourFile.conf") 
val date = BigDecimal(100)