Comp sci: static methods

Tutoring computer science, static methods can arise.

The specific language does provide meaningful context in how a programmer perceives static methods. However, the general idea is that a static method can be invoked from the class itself rather than needing an instance of it.

The static method can be seen as an elegant, reusable deployment, available as needed from its corresponding class, which may contain numerous other related static methods. A language that is exclusively object-oriented can use such a premise as its alternative to importing functions stored in library files.

Source:

oracle.com

tutorialspoint.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply