Accessing Static Class Members

# Introduction In this lab, you will create a program to access a static variable and function from the `main()` function, where a class named `College` with a static variable `name` and static function `display()` will be created, the `display()` function will print the value of the `name` variable, and the `main()` function will get string input and initialize the static variable `name` with the input value before calling the `display()` function.

|60 : 00

Click the virtual machine below to start practicing