Skip to content

Instantly share code, notes, and snippets.

@lucaspolo
Created November 1, 2021 02:42
Show Gist options
  • Save lucaspolo/0b26839fcb115a5695335ec013c2d22a to your computer and use it in GitHub Desktop.
Save lucaspolo/0b26839fcb115a5695335ec013c2d22a to your computer and use it in GitHub Desktop.
// Java
public class Pessoa {
private String nome;
private int teste1;
protected char[] teste = new char[10];
protected teste[] teste = new teste[56];
public float desprotegido;
private float[] teste = new float[34543];
}
// C++
class Pessoa {
private:
String nome;
int teste1;
char teste[10];
teste teste[56];
float teste[34543];
public:
float desprotegido;
};
// PHP
class Pessoa {
private $nome;
private $teste1;
protected $teste = array(10);
protected $teste = array(56);
public $desprotegido;
private $teste = array(34543);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment