Question: Exercise 2: Develop a Kotlin-based Android application that uses data classes to represent student information. The application will focus on storing and displaying enrollment

Exercise 2: Develop a Kotlin-based Android application that uses data classes to represent student information. The application will focus on storing and displaying enrollment numbers and names. Data Class: Create a Kotlin data class named Student with properties for Enrollment Number and Name. Ensure that the data class fulfills the requirements for a data class, including proper toString representation. Screen: Display Student Information Develop a screen layout with TextViews to display information about a student. Instantiate an instance of the Student data class and display its information on the screen. INSTRUCTIONS: DO NOT USE INTENT Hint: DO NOT USE VIEWMODEL HINT: DATAHOLDER 8:43 Enter Enrollment Number Enter Name Submil
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
