X-Received: by 10.66.136.40 with SMTP id px8mr16878287pab.11.1444496660744; Sat, 10 Oct 2015 10:04:20 -0700 (PDT) X-Received: by 10.182.44.163 with SMTP id f3mr110396obm.7.1444496660665; Sat, 10 Oct 2015 10:04:20 -0700 (PDT) Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!kq10no19435709igb.0!news-out.google.com!n2ni26230igy.0!nntp.google.com!kq10no17306929igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: it.comp.java Date: Sat, 10 Oct 2015 10:04:20 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.65.158.177; posting-account=kkPXBwoAAAAS8kQ4UkfXWP36PIugYyaV NNTP-Posting-Host: 93.65.158.177 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: casting di un oggetto From: rootkit Injection-Date: Sat, 10 Oct 2015 17:04:20 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com it.comp.java:8596 Il giorno sabato 10 ottobre 2015 18:22:56 UTC+2, Vittorio ha scritto: > una interfaccia pu=F2 essere convertita in una classe che implementa tale= =20 > interfaccia? >=20 > esempio: >=20 > ClasseA istanzaclasseA =3D (ClasseA)InterfacciaX >=20 > dove ClasseA implementa l'interfaccia X a compile time =E8 consentito. a runtime se la variabile a destra non =E8 una istanza di ClasseA si genera una eccezione.