Basic Java Question! PLZ HELP?
Question:
I learned to start each progra with: public string void main(String[] args)
and from what i know, the computer reads this first to run, it cannot run without it.
But i tried to get some java codes from online and try to run them (like simple games and swings) for fun. (note: i do not know swings).
I have found many programs that do not have public void static main (string[] args) in them, and my question is: HOW DO I RUN THEM!! Because from what i know a program cannot run with this this.
The programs i found have a public void init(){}.
Can anyone explain to me how i run a program code that does not have "public void static main (string[] args)" but has this line: "publc void init()" ? Also: i noted that these programs all start with something like this: "public [class name] extends [something]" --> where the class basically is a extension of another class.
Answer:
applets can run without main method
I known java offers an application server known as WebStart. My guess is the app inherits a class the contains the handlers to work with that server.
Voyage Century is a free to play nautical MMORPG published by IGG, the distributors of Myth War Online. Advertisements for the game suggest that it is the "First 3D Nautical Online Game", but dates of the development of Burning Sea and the presence of Uncharted Waters Online seem to dispute this marketing ploy. It is set in 16th century Earth and features accurate historical representations of several coastal cities. Players are given a choice between four career paths at the beginning of the game: explorer, merchant, craftsman, or warrior. This choice is vital to a character, since it greatly influences the playing style of the character for the rest of the game. Combat occurs both on land and on the sea, where players risk the threat of pirates when venturing further from the more populated areas.
It is speculated that optional cash shop items will be available for players to purchase with real money after more development.
http://www.voyagecentury.cc
More Questions & Answers...