Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!aioe.org!.POSTED.hqPgifCF1TaqUfx+6Uvsxg.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | Annibale <vannnnia1991@gmail.com> |
| Newsgroups | it.comp.java |
| Subject | Non si può stampare una variabile prima di dichiararla? |
| Date | Fri, 18 Oct 2019 13:19:26 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 25 |
| Message-ID | <qoc742$1cf8$1@gioia.aioe.org> (permalink) |
| NNTP-Posting-Host | hqPgifCF1TaqUfx+6Uvsxg.user.gioia.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Content-Language | it |
| X-Mozilla-News-Host | news://nntp.aioe.org:119 |
| Xref | csiph.com it.comp.java:9349 |
Show key headers only | View raw
Questo codice non funziona:
public static void main(String []args){
System.out.println( g );
char g = 'A' ;
}
Questo sì:
public static void main(String []args){
char g = 'A' ;
System.out.println( g );
}
In altri linguaggi si può fare tranquillamente( esempio VBA di Excel ).
Grazie
Back to it.comp.java | Previous | Next — Next in thread | Find similar
Non si può stampare una variabile prima di dichiararla? Annibale <vannnnia1991@gmail.com> - 2019-10-18 13:19 +0200 Re: Non si può stampare una variabile prima di dichiararla? "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-10-18 17:56 +0200 Re: Non si può stampare una variabile prima di dichiararla? 4ndre4 <4ndre4@4ndre4.invalid> - 2019-10-19 00:41 +0100
csiph-web