Which of the following is true?
1.Static methods cannot be overloaded.
2.Static data members can only be accessed by static methods.
3. Non-static data members can be accessed by static methods.
4.Static methods can only access static members (data and methods)
Posted Date:-2022-07-04 03:54:45