Java - Programming Language
This course covers the basics of programming in Java. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

Static Methods In Classes

Lesson 33
Author : Mike Dane
Last Updated : October, 2017


Code

Copypublic static class MyStaticClass{

     public static int usefulAttribute = 99;

     public static void usefulFunction(){
          // do something useful
     }
}