Click here to Skip to main content
15,892,161 members
Home / Discussions / Java
   

Java

 
GeneralRe: array? Pin
benjamin yap12-Aug-09 22:27
benjamin yap12-Aug-09 22:27 
GeneralRe: array? Pin
David Skelly13-Aug-09 2:35
David Skelly13-Aug-09 2:35 
Questionencrypt a file using .net and decrypt it using java Pin
nani666611-Aug-09 18:59
nani666611-Aug-09 18:59 
AnswerRe: encrypt a file using .net and decrypt it using java Pin
David Skelly11-Aug-09 22:09
David Skelly11-Aug-09 22:09 
GeneralRe: encrypt a file using .net and decrypt it using java Pin
nani666612-Aug-09 18:46
nani666612-Aug-09 18:46 
GeneralRe: encrypt a file using .net and decrypt it using java Pin
David Skelly12-Aug-09 22:02
David Skelly12-Aug-09 22:02 
QuestionOverriding assignment operator Pin
David Crow11-Aug-09 4:34
David Crow11-Aug-09 4:34 
AnswerRe: Overriding assignment operator Pin
David Skelly11-Aug-09 6:24
David Skelly11-Aug-09 6:24 
No, you cannot do this in Java. It was a deliberate choice by Gosling et al. as one of their original design aims for the language was simplicity and transparency: you should always know what code does simply by looking at it, with no "hidden" effects. ("Simplicity" and Java, oh how the world has changed.)

What you can do is set up a static factory method, something like:

AJSDate startDate = AJSDate.valueOf("200090811")


That's probably a better solution for dates if you're concerned about time zones because it allows you to overload the factory method to specify a time zone as well, which you can't easily do with operator overloading.
Questionregarding generation of random rows from database Pin
mini_mpct10-Aug-09 3:21
mini_mpct10-Aug-09 3:21 
GeneralRe: regarding generation of random rows from database Pin
SinghUlarity...18-Aug-09 4:38
SinghUlarity...18-Aug-09 4:38 
QuestionNew to Java programming! Pin
TaleaS9-Aug-09 14:38
TaleaS9-Aug-09 14:38 
AnswerRe: New to Java programming! Pin
fly9049-Aug-09 23:43
fly9049-Aug-09 23:43 
AnswerRe: New to Java programming! Pin
student4ever10-Aug-09 8:17
student4ever10-Aug-09 8:17 
AnswerRe: New to Java programming! Pin
TaleaS11-Aug-09 8:14
TaleaS11-Aug-09 8:14 
QuestionOpening Java Window - Explorer v Firefox Conflict Pin
PDTUM7-Aug-09 7:26
PDTUM7-Aug-09 7:26 
AnswerRe: Opening Java Window - Explorer v Firefox Conflict Pin
fly9047-Aug-09 7:50
fly9047-Aug-09 7:50 
GeneralRe: Opening Java Window - Explorer v Firefox Conflict Pin
PDTUM7-Aug-09 8:50
PDTUM7-Aug-09 8:50 
GeneralRe: Opening Java Window - Explorer v Firefox Conflict Pin
fly9047-Aug-09 9:19
fly9047-Aug-09 9:19 
Questionproject Pin
vibhadubey6-Aug-09 3:18
vibhadubey6-Aug-09 3:18 
AnswerRe: project [modified] Pin
Tr@v6-Aug-09 7:42
Tr@v6-Aug-09 7:42 
Generalproject Pin
vibhadubey7-Aug-09 4:24
vibhadubey7-Aug-09 4:24 
GeneralRe: project Pin
Tr@v7-Aug-09 8:51
Tr@v7-Aug-09 8:51 
GeneralRe: project Pin
vibhadubey8-Aug-09 2:18
vibhadubey8-Aug-09 2:18 
QuestionHow to write Pin
udch6-Aug-09 1:33
udch6-Aug-09 1:33 
AnswerRe: How to write Pin
fly9046-Aug-09 1:44
fly9046-Aug-09 1: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.