Question: Continuing step 3 : Now in the Controller s main method under the last code you wrote in this method call the Helper s displayInfo
Continuing step :
Now in the Controllers main method under the last code you wrote in this method call the
Helpers displayInfo method.
Think about this for a moment:
The displayinfo method is static and is in the Helper class how do you call it from the
Controller class.
Console Output:
Your console output should look like this:
DISPLAYINFO FROM HELPER CLASS
displayInfo
Object Type
Instance of classClass
Which one is being messaged here
uses static does not use static
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
