/* Author : Michael Robinson Program : abstractClass.java Purpose : this is an abstract class, it can contain as many abstract methods as needed. Abstract classes can also contain as many regular methods as needed. Updated : September 9th, 2099 */ abstract public class abstractClass //this is an abstract class { //this is an abstract method NO BODY NEEDED //but this method MUST be overridden if this //abstract class is extended abstract void hello(); //this is a regular method inside an abstract class public static void methodOne() { System.out.println( "I am methodOne, a regular method " + "inside an the abstractClass" ); }//end public static void methodOne() //regular method BUT does not need to be implemented public static void methodTwo() { //not all regular methods need to be implemented in an //abstract class } }//end abstract public class abstractClass