nested class in Kotlin
A class is declared within another class then it is called a nested class. By default nested class is static so we can access the nested class property or variables using dot(.) notation without creating an object of the class. ``` class A { var sa = "Outer class" class B { var sb = "Nested class" fun f(str: String): String { var s = sb.plus(str) return s } } } fun main(args: Array<String>) { val b = A.B() var result = b.f(" member function call successful") println(result) } ```