Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,33 @@ public class User {

---

## Accessing Class members
> Java

```java
Student student = new Student();
student.setName("Smith");
student.setCourse("Geology");
student.setYear(2015);
student.setCode(200);
student.register();

```

> Kotlin

```kotlin
Student().apply {
name = "Smith"
course = "Geology"
year = 2015
code = 200
register()
}
```

---

### Important things to know in Kotlin

- [Mastering Kotlin Coroutines](https://amitshekhar.me/blog/kotlin-coroutines) - Mastering Kotlin Coroutines
Expand Down