KIT MotoneAdachi Batch 7 - SMART PHONE APP DEVELOP

Run Settings
LanguageKotlin
Language Version
Run Command
/* Create the class 'Student' with the following properties and behavior Properties: rollNumber of type integer, name of type String, year of type integer, section of type character */ class Student { var rollNumber = 0 var name = "" var year = 0 var section = "" fun sing() { println("Singing") } fun learn() { println("Learning") } fun wiriteExam() { println("Writing Exam") } fun play() { println("Playing") } } fun main(args : Array<String>){ var motone = Student() motone.name = "Motone" motone.year = 2000 motone.sing() }
Editor Settings
Theme
Key bindings
Full width
Lines