Lesson 2
Lab Assignment – Java: Random Behavior
What Will You Learn
Use of more sophisticated methods
Use of random numbers
Contents
Using the classes from Lab 1, app andstudent, create a solution for implementing somekind of random behavior for your student. Suppose the student canbe reading, surfing the web, or interacting with other students.You will need to check now and then to see what the student isdoing. You will be asking the instance of thestudent class and what it is doing at certain timeintervals.
You Will Need To:
Create a method in the class student that returns what thestudent is doing.
Have this method generate the behavior randomly.
PayPal Gateway not configured
PayPal Gateway not configured