Click here to Skip to main content
15,890,512 members
Home / Discussions / Java
   

Java

 
GeneralRe: Main method Pin
Richard MacCutchan14-Sep-11 4:43
mveRichard MacCutchan14-Sep-11 4:43 
GeneralRe: Main method Pin
jschell14-Sep-11 13:39
jschell14-Sep-11 13:39 
GeneralRe: Main method Pin
Richard MacCutchan14-Sep-11 22:29
mveRichard MacCutchan14-Sep-11 22:29 
GeneralRe: Main method Pin
jschell15-Sep-11 10:47
jschell15-Sep-11 10:47 
GeneralRe: Main method Pin
Richard MacCutchan15-Sep-11 22:20
mveRichard MacCutchan15-Sep-11 22:20 
GeneralRe: Main method Pin
jschell17-Sep-11 14:46
jschell17-Sep-11 14:46 
GeneralRe: Main method Pin
Richard MacCutchan17-Sep-11 21:22
mveRichard MacCutchan17-Sep-11 21:22 
GeneralRe: Main method Pin
Nagy Vilmos15-Sep-11 23:07
professionalNagy Vilmos15-Sep-11 23:07 
The JRE requires a method with the signature:
Java
public static void main(String [] args)

It must be public, or else it can't be accessed.
It must be static as it is called before anything has been instantiated.


Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

GeneralRe: Main method Pin
David Skelly16-Sep-11 2:12
David Skelly16-Sep-11 2:12 
QuestionMultiple Client/Server Chat messaging problem [modified] Pin
alli7712-Sep-11 14:13
alli7712-Sep-11 14:13 
AnswerRe: Multiple Client/Server Chat messaging problem Pin
Richard MacCutchan12-Sep-11 21:31
mveRichard MacCutchan12-Sep-11 21:31 
AnswerRe: Multiple Client/Server Chat messaging problem Pin
Nagy Vilmos12-Sep-11 22:31
professionalNagy Vilmos12-Sep-11 22:31 
QuestionNumber problems Pin
Liam S. Crouch11-Sep-11 7:03
Liam S. Crouch11-Sep-11 7:03 
AnswerRe: Number problems Pin
Gerben Jongerius11-Sep-11 7:21
Gerben Jongerius11-Sep-11 7:21 
AnswerRe: Number problems Pin
Richard MacCutchan11-Sep-11 7:31
mveRichard MacCutchan11-Sep-11 7:31 
AnswerRe: Number problems Pin
Luc Pattyn11-Sep-11 7:45
sitebuilderLuc Pattyn11-Sep-11 7:45 
GeneralRe: Number problems Pin
TorstenH.11-Sep-11 22:47
TorstenH.11-Sep-11 22:47 
AnswerRe: Number problems Pin
Charles Putney13-Sep-11 1:47
Charles Putney13-Sep-11 1:47 
Questionhi Pin
GANESH238911-Sep-11 3:23
GANESH238911-Sep-11 3:23 
AnswerRe: hi Pin
Richard MacCutchan11-Sep-11 4:03
mveRichard MacCutchan11-Sep-11 4:03 
GeneralRe: hi Pin
GANESH238911-Sep-11 6:44
GANESH238911-Sep-11 6:44 
GeneralRe: hi Pin
Richard MacCutchan11-Sep-11 7:20
mveRichard MacCutchan11-Sep-11 7:20 
GeneralRe: hi Pin
GANESH238911-Sep-11 7:27
GANESH238911-Sep-11 7:27 
AnswerRe: hi Pin
TorstenH.11-Sep-11 22:49
TorstenH.11-Sep-11 22:49 
Questionhi guys,, Pin
GANESH238911-Sep-11 3:21
GANESH238911-Sep-11 3:21 

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.