Answers for "how to create a subclass in java"

0

java how to create subclass

//Cria uma classe, está dára informação a outra
//Create a class, this will be the one to give information to another
public class Teste {
}

//Esta vai coletar a informação da class "Teste" fazendo uma class com herança
//This one will be the one collecting information from "Teste" doing a class with inheritance
class SubClass extends Teste{

}
Posted by: Guest on November-09-2021

Code answers related to "how to create a subclass in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language