Page 1028 - IT2
P. 1028
This.PU = pu ;
}
Public int getQT (){
Return this.QT
}
Public void setQT (int qt ){
This.QT = qt ;
}
Public string afficher(){
Return this.IDProduit +" "+this. NomProduit +" "+ this.PU+" "+this.QT ;
}
Classe test
Plusieurs solutions possible
Dossier 3 : développement web(20 pts)
<html>
<head>
<title> Formulaire d'inscription </title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script language="javascript">
function Annule()
{
f.nom.value="";
id1.innerHTML="";
f.prenom.value="";
id2.innerHTML="";
f.email.value="";
id3.innerHTML="";
f.mdp.value="";
f.cmdp.value="";
id4.innerHTML="";
f.age.value="";
id5.innerHTML="";
}
function Envoye()
Filière Epreuve Session Page 10 sur 14
TDM Synthèse V1 Juillet 2015

