Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correção de código 1.3 - Tipos Abstratos em Java #5

Open
heli2047 opened this issue May 18, 2021 · 1 comment
Open

Correção de código 1.3 - Tipos Abstratos em Java #5

heli2047 opened this issue May 18, 2021 · 1 comment

Comments

@heli2047
Copy link

O código no item 1.3 - Tipos Abstratos em Java, possui um erro no código.

Código com erro no return escrito "retunr ".
`
public class EstruturaQualquer (){

Object[] vetor;

public EstruturaQualquer(int tamanho){
	vetor = new Object[tamanho];
} 

public void getItem(int i, Object valor){
	vetor[i] = valor;
}
public Object getItem(int i){
	**retunr** vetor[i];
}

}
`

@LuisAraujo
Copy link
Owner

Obrigado @heli2047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants