Click here to Skip to main content
15,896,606 members
Home / Discussions / Java
   

Java

 
Questionjava code Pin
Member 103617716-Nov-13 6:05
Member 103617716-Nov-13 6:05 
QuestionRe: java code Pin
Richard MacCutchan7-Nov-13 22:20
mveRichard MacCutchan7-Nov-13 22:20 
Questionhow to find 2nd largest array if array values like{10,20,92,81,92,34} Pin
anjim2-Nov-13 20:00
anjim2-Nov-13 20:00 
SuggestionRe: how to find 2nd largest array if array values like{10,20,92,81,92,34} Pin
Richard MacCutchan2-Nov-13 21:33
mveRichard MacCutchan2-Nov-13 21:33 
AnswerRe: how to find 2nd largest array if array values like{10,20,92,81,92,34} Pin
SimpDev3-Nov-13 6:00
SimpDev3-Nov-13 6:00 
GeneralRe: how to find 2nd largest array if array values like{10,20,92,81,92,34} Pin
anjim3-Nov-13 16:54
anjim3-Nov-13 16:54 
QuestionOverride annotation member variable at runtime Pin
Lash2031-Oct-13 3:45
Lash2031-Oct-13 3:45 
AnswerRe: Override annotation member variable at runtime Pin
lrinish2-Nov-13 13:59
lrinish2-Nov-13 13:59 
I think this answers your question, http://docs.oracle.com/javase/1.5.0/docs/guide/language/annotations.html[^]

Quote:
Once an annotation type is defined, you can use it to annotate declarations. An annotation is a special kind of modifier, and can be used anywhere that other modifiers (such as public, static, or final) can be used. By convention, annotations precede other modifiers. Annotations consist of an at-sign (@) followed by an annotation type and a parenthesized list of element-value pairs. The values must be compile-time constants.

Personally never used annotations for anything other than generating Java Docs and I'm not sure what your trying to use it for here? Are you really trying to define an interface?
GeneralRe: Override annotation member variable at runtime Pin
Lash207-Nov-13 8:25
Lash207-Nov-13 8:25 
AnswerRe: Override annotation member variable at runtime Pin
jschell7-Nov-13 9:22
jschell7-Nov-13 9:22 
QuestionRising error in Constructor-based Dependency Injection, Spring Framework Pin
kmb8930-Oct-13 15:44
kmb8930-Oct-13 15:44 
SuggestionRe: Rising error in Constructor-based Dependency Injection, Spring Framework Pin
Richard MacCutchan30-Oct-13 22:05
mveRichard MacCutchan30-Oct-13 22:05 
AnswerRe: Rising error in Constructor-based Dependency Injection, Spring Framework Pin
Bernhard Hiller31-Oct-13 1:31
Bernhard Hiller31-Oct-13 1:31 
QuestionJSpinner value from Database. Pin
chdboy27-Oct-13 2:31
chdboy27-Oct-13 2:31 
AnswerRe: JSpinner value from Database. Pin
jschell30-Oct-13 8:18
jschell30-Oct-13 8:18 
Questionpublic and private RSA keys Pin
Beulah Dalrymple25-Oct-13 11:41
Beulah Dalrymple25-Oct-13 11:41 
AnswerRe: public and private RSA keys Pin
Richard MacCutchan25-Oct-13 22:58
mveRichard MacCutchan25-Oct-13 22:58 
QuestionNavigationa with ResultSet Pin
chdboy24-Oct-13 21:55
chdboy24-Oct-13 21:55 
AnswerRe: Navigationa with ResultSet Pin
Nagy Vilmos24-Oct-13 22:41
professionalNagy Vilmos24-Oct-13 22:41 
GeneralRe: Navigationa with ResultSet Pin
chdboy26-Oct-13 20:57
chdboy26-Oct-13 20:57 
QuestionPutting a split String in a printout. Pin
chdboy23-Oct-13 19:58
chdboy23-Oct-13 19:58 
AnswerRe: Putting a split String in a printout. Pin
Richard MacCutchan23-Oct-13 21:30
mveRichard MacCutchan23-Oct-13 21:30 
GeneralRe: Putting a split String in a printout. Pin
chdboy23-Oct-13 23:16
chdboy23-Oct-13 23:16 
GeneralRe: Putting a split String in a printout. Pin
Richard MacCutchan23-Oct-13 23:23
mveRichard MacCutchan23-Oct-13 23:23 
GeneralRe: Putting a split String in a printout. Pin
chdboy24-Oct-13 0:53
chdboy24-Oct-13 0:53 

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.