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

Java

 
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 
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 
Your code makes no sense; you have a constructor that takes 5 values and stores them within your object, but your property getters all return static values. So any object of the class will always be a 2002 model Volvo with reg number VD-12345. You should change your getters to return the values stored by the constructor. You should also not try to instantiate an object using a constructor (the no parameter version) that does not exist in your class. You can find more details about classes, objects and constructors here[^].
Unrequited desire is character building. OriginalGriff


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 
AnswerRe: poker application Pin
CodingLover2-Oct-11 23:59
CodingLover2-Oct-11 23:59 
Questionerror: cannot in coding Pin
Iswandi Abdul Rahman30-Sep-11 12:56
Iswandi Abdul Rahman30-Sep-11 12:56 
AnswerRe: error: cannot in coding Pin
ramhan30-Sep-11 19:45
ramhan30-Sep-11 19:45 

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.