Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java inheritance example

public class Parent
{
  //methods and constructors 
}

public class Child extends Parent
{
	//inherits methods from Parent class
}
 
PREVIOUS NEXT
Tagged: #java #inheritance
ADD COMMENT
Topic
Name
6+5 =