Skip to content

Instantly share code, notes, and snippets.

public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
package br.com.targettrust.exemplos;
/*
Um exemplo simples de classe com um método main básico
que instancia vários objetos da classe,
manipula os objetos, e gera informações
sobre o objeto
*/
public class ExemploSimples {
private int numero;
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="br.com.targettrust.helloandroid"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<title>T@rgetTrust.com -> Treinamento PHP</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-1" />
</head>
<body>
<h1>Exemplo de Formulario</h1>
<form name="formulario" id="formulario" action="script.php" method="post">