Click here to Skip to main content
15,895,256 members
Home / Discussions / Java
   

Java

 
AnswerRe: Please help with java assignment Pin
I.explore.code12-Oct-11 4:31
I.explore.code12-Oct-11 4:31 
QuestionMultilevelqueue Pin
jhencer1111085-Oct-11 12:40
jhencer1111085-Oct-11 12:40 
AnswerRe: Multilevelqueue Pin
Richard MacCutchan5-Oct-11 21:49
mveRichard MacCutchan5-Oct-11 21:49 
AnswerRe: Multilevelqueue Pin
Nagy Vilmos5-Oct-11 22:35
professionalNagy Vilmos5-Oct-11 22:35 
QuestionTroubble with "new" Pin
Tor Danielsen4-Oct-11 11:00
Tor Danielsen4-Oct-11 11:00 
AnswerRe: Troubble with "new" Pin
DaveAuld4-Oct-11 12:03
professionalDaveAuld4-Oct-11 12:03 
GeneralRe: Troubble with "new" Pin
Tor Danielsen4-Oct-11 12:28
Tor Danielsen4-Oct-11 12:28 
GeneralRe: Troubble with "new" Pin
DaveAuld4-Oct-11 13:37
professionalDaveAuld4-Oct-11 13:37 
Tor Danielsen wrote:
Bil1 minBil = new Bil1("VD-12345", "Volvo", 2002, 55, true);

I did put something like that in my initial message (that i then deleted, because I started thinking down the default constructor route).


Tor Danielsen wrote:
but then the client program ain't approved. the task is to have the values in the class section "Bil1", not client section "Bil1test"

I haven't got a clue what you mean by that.

I am completely confused what you are exactly wanting now. Basically, things wont work if your method signatures don't match, so you either need to remove the paramaters or create a new empty constructor in the the Class (for the reasons I posted in the the message above).
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


AnswerRe: Troubble with "new" Pin
Luc Pattyn4-Oct-11 13:40
sitebuilderLuc Pattyn4-Oct-11 13:40 
AnswerRe: Troubble with "new" Pin
Nagy Vilmos4-Oct-11 21:47
professionalNagy Vilmos4-Oct-11 21:47 
AnswerRe: Troubble with "new" Pin
Richard MacCutchan4-Oct-11 21:50
mveRichard MacCutchan4-Oct-11 21:50 
AnswerRe: Troubble with "new" Pin
TorstenH.4-Oct-11 23:57
TorstenH.4-Oct-11 23:57 
GeneralRe: Troubble with "new" Pin
Nagy Vilmos5-Oct-11 0:12
professionalNagy Vilmos5-Oct-11 0:12 
GeneralRe: Troubble with "new" Pin
Richard MacCutchan5-Oct-11 0:20
mveRichard MacCutchan5-Oct-11 0:20 
GeneralRe: Troubble with "new" Pin
TorstenH.5-Oct-11 4:08
TorstenH.5-Oct-11 4:08 
GeneralRe: Troubble with "new" Pin
Richard MacCutchan5-Oct-11 4:37
mveRichard MacCutchan5-Oct-11 4:37 
GeneralRe: Troubble with "new" Pin
David Skelly5-Oct-11 3:41
David Skelly5-Oct-11 3:41 
GeneralRe: Troubble with "new" Pin
TorstenH.5-Oct-11 4:06
TorstenH.5-Oct-11 4:06 
GeneralRe: Troubble with "new" Pin
David Skelly5-Oct-11 22:17
David Skelly5-Oct-11 22:17 
GeneralRe: Troubble with "new" Pin
Nagy Vilmos5-Oct-11 22:29
professionalNagy Vilmos5-Oct-11 22:29 
AnswerRe: Troubble with "new" Pin
chalspaul6-Oct-11 4:41
chalspaul6-Oct-11 4:41 
QuestionJava Based Search Service in Oracle CC&B Pin
BalajiGuna3-Oct-11 21:56
BalajiGuna3-Oct-11 21:56 
AnswerRe: Java Based Search Service in Oracle CC&B Pin
Nagy Vilmos3-Oct-11 22:11
professionalNagy Vilmos3-Oct-11 22:11 
Questionpoker application Pin
moises242-Oct-11 20:36
moises242-Oct-11 20:36 
AnswerRe: poker application Pin
Richard MacCutchan2-Oct-11 21:44
mveRichard MacCutchan2-Oct-11 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.