Created
November 24, 2019 21:48
-
-
Save guaracyalima/7aaf539d1f09dc2be546b42b53edf33e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class E1 { | |
public static void main( String[] args){ | |
// tenta realiza a atribuição a um int com o retorno de um método void | |
int i = new E1().metodoSemRetorno(); | |
} | |
public void metodoSemRetorno(){}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment