Untitled

Run Settings
LanguageGroovy
Language Version
Run Command
class Example { static void main(String[] args) { Student st = new Student(); st.StudentID = 1; println(st.DisplayMarks()); } } trait Marks { void DisplayMarks() { println("Marks1"); } } trait Total extends Marks { void DisplayMarks() { println("Total"); } } class Student implements Total { int StudentID }
Editor Settings
Theme
Key bindings
Full width
Lines