public class Parent { //methods and constructors } public class Child extends Parent { //inherits methods from Parent class }