Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Programmazione > [PROGRAMMAZIONE] Help Progetto #1
Pages (5): « 1 [2] 3 4 5 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho scritto tutto il codice del progetto però mi da un errore strano riguardo ai costruttori delle classi Libro e Cd....non capisco!! Mi da errore richiamando il costruttore della classe Elemento......

01-02-2004 15:52
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maja
.odio:statistica.

User info:
Registered: Oct 2002
Posts: 1257 (0.15 al dì)
Location: ormai dormo in Comelico :D
Corso: Informatica
Anno: terzo con riserva.
Time Online: 30 Days, 7:34:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by tata1283
Mi da errore richiamando il costruttore della classe Elemento......


che tipo di errore ti dà?

__________________
Non si dice ottimista,si dice illuso.
Non si dice pessimista,si dice realista.


01-02-2004 16:07
Click Here to See the Profile for maja Click Here to See the Blog of maja Click here to Send maja a Private Message Find more posts by maja Add maja to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by maja
che tipo di errore ti dà?


Sono riuscita a sistemarlo grazie lo stesso!

02-02-2004 12:38
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
shadow
.consigliere.

User info:
Registered: Sep 2003
Posts: 133 (0.02 al dì)
Location: lainate
Corso: informatica
Anno: III
Time Online: 1 Day, 8:45:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Salve a tutti, premetto che non ho letto ancora il testo del progetto ma credo che sia abbastanza facile, giacchè nessuna posta per chiedere info, dai se avete bisogno mi unisco agli alòtri per dare una mano.
Bye

02-02-2004 23:57
Click Here to See the Profile for shadow Click here to Send shadow a Private Message Find more posts by shadow Add shadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maja
.odio:statistica.

User info:
Registered: Oct 2002
Posts: 1257 (0.15 al dì)
Location: ormai dormo in Comelico :D
Corso: Informatica
Anno: terzo con riserva.
Time Online: 30 Days, 7:34:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
classe astratte e sottoclassi

Problema:

...essendo le variabili private nella superclasse astratta,invocando nel costruttore della sottoclasse il metodo super mi viene detto che non si può accedere alle variabili della superclasse perchè hanno modificatore private....
come faccio ad accedervi?
devo riscrivere tutti i campi nel costruttore e non invocare super?

grazie!

__________________
Non si dice ottimista,si dice illuso.
Non si dice pessimista,si dice realista.


03-02-2004 09:40
Click Here to See the Profile for maja Click Here to See the Blog of maja Click here to Send maja a Private Message Find more posts by maja Add maja to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bravo Yankee
The end. Thanks to all

User info:
Registered: Oct 2003
Posts: 1037 (0.13 al dì)
Location: Provincia di Milano
Corso: Informatica
Anno: 0
Time Online: 29 Days, 0:42:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Secondo me, devi creare delle variabili locali della sottoclasse, che vengono inizializzate al valore corretto nel costruttore della sottoclasse...e poi utilizzi quei campi locali...Per le estensioni, devi fare in modo che nessun metodo riscritto della sottoclasse invochi variabili della superclasse, visto che potrei cambiare l'implementazione della sottoclasse senza tener conto delle classi che la estendono...Basta rispettare il contratto dei metodi...

03-02-2004 09:43
Click Here to See the Profile for Bravo Yankee Click here to Send Bravo Yankee a Private Message Find more posts by Bravo Yankee Add Bravo Yankee to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bravo Yankee
The end. Thanks to all

User info:
Registered: Oct 2003
Posts: 1037 (0.13 al dì)
Location: Provincia di Milano
Corso: Informatica
Anno: 0
Time Online: 29 Days, 0:42:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ops...scusa, potrei cambiare l'implementazione della superclasse...ecc ecc

03-02-2004 09:44
Click Here to See the Profile for Bravo Yankee Click here to Send Bravo Yankee a Private Message Find more posts by Bravo Yankee Add Bravo Yankee to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maja
.odio:statistica.

User info:
Registered: Oct 2002
Posts: 1257 (0.15 al dì)
Location: ormai dormo in Comelico :D
Corso: Informatica
Anno: terzo con riserva.
Time Online: 30 Days, 7:34:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Bravo Yankee
Ops...scusa, potrei cambiare l'implementazione della superclasse...ecc ecc


naturalmente no....altrimenti non c'erano problemi...

__________________
Non si dice ottimista,si dice illuso.
Non si dice pessimista,si dice realista.


03-02-2004 10:50
Click Here to See the Profile for maja Click Here to See the Blog of maja Click here to Send maja a Private Message Find more posts by maja Add maja to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bravo Yankee
The end. Thanks to all

User info:
Registered: Oct 2003
Posts: 1037 (0.13 al dì)
Location: Provincia di Milano
Corso: Informatica
Anno: 0
Time Online: 29 Days, 0:42:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Naturalmente no...Cosa??? Non ti capisco...

03-02-2004 12:47
Click Here to See the Profile for Bravo Yankee Click here to Send Bravo Yankee a Private Message Find more posts by Bravo Yankee Add Bravo Yankee to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Problema: non ricordo più come si fa a trasformare una stringa in un int.......ho guardato in tutti gli appunti che ho ma non lo trovo. Non è che qualche anima pia può darmi un mano? grazie!

03-02-2004 13:18
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Guinan
.grande:maestro.

User info:
Registered: Aug 2003
Posts: 655 (0.08 al dì)
Location: Hogwarts
Corso: informatica
Anno: terzo
Time Online: 4 Days, 20:19:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il metodo parseInt ti dice niente? Mi pare che sia quello, ma non ho qui niente, casomai guardo stasera a casa
ciao

__________________
- Long life and prosper!
- Elen sila lumen omentilmo!

03-02-2004 13:42
Click Here to See the Profile for Guinan Click Here to See the Blog of Guinan Click here to Send Guinan a Private Message Find more posts by Guinan Add Guinan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maja
.odio:statistica.

User info:
Registered: Oct 2002
Posts: 1257 (0.15 al dì)
Location: ormai dormo in Comelico :D
Corso: Informatica
Anno: terzo con riserva.
Time Online: 30 Days, 7:34:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Bravo Yankee
Naturalmente no...Cosa??? Non ti capisco...


Naturalmente non si poteva cambiare l'implementazione della classe,comunque ora ho risolto,grazie :D

__________________
Non si dice ottimista,si dice illuso.
Non si dice pessimista,si dice realista.


03-02-2004 16:41
Click Here to See the Profile for maja Click Here to See the Blog of maja Click here to Send maja a Private Message Find more posts by maja Add maja to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
khelidan
.grande:maestro.

User info:
Registered: Jun 2003
Posts: 1196 (0.15 al dì)
Location: Milano
Corso: Informatica
Anno: Finito....
Time Online: 13 Days, 12:08:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by tata1283
Problema: non ricordo più come si fa a trasformare una stringa in un int.......ho guardato in tutti gli appunti che ho ma non lo trovo. Non è che qualche anima pia può darmi un mano? grazie!


public static int parseInt(String str),della classe Integer...

__________________
Khelidan

04-02-2004 10:53
Click Here to See the Profile for khelidan Click here to Send khelidan a Private Message Find more posts by khelidan Add khelidan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by khelidan
public static int parseInt(String str),della classe Integer...


grazie mille...già ieri sera mi ero ricordata!!!

04-02-2004 11:05
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
gluca
.simpatizzante.

User info:
Registered: Oct 2003
Posts: 14 (0.00 al dì)
Location:
Corso: informatica
Anno:
Time Online: 1 Day, 21:06:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuna mi sa dire dove devo mettere le tracce del cd nel costruttore ??? (se ci vanno )

altrimenti .......?????

04-02-2004 14:54
Click Here to See the Profile for gluca Click here to Send gluca a Private Message Find more posts by gluca Add gluca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 10:11.    Post New Thread    Post A Reply
Pages (5): « 1 [2] 3 4 5 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.098 seconds (58.05% PHP - 41.95% MySQL) con 23 query.