Created
November 25, 2011 14:50
-
-
Save macintoxic/1393693 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public class ClasseTeste implements InterfaceTeste1, InterfaceTeste2 { | |
public String publicString = ""; | |
public static String publicStaticString = ""; | |
private static String privateStaticString = ""; | |
protected String protectedString = ""; | |
public int publicInt = 0; | |
public @Positivo int negativo = -10; | |
public @Positivo int positivo = 10; | |
public static int Teste() | |
{ | |
return -1; | |
} | |
private static boolean IsBool() | |
{ | |
return false; | |
} | |
protected static void X() | |
{} | |
public int Soma(int a, int b) | |
{ | |
return a+b; | |
} | |
public int Dobro( int a) | |
{ | |
return a*2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment