![]() |
|
|
#1 (permalink) |
|
Lurker
|
well yesterday my sisters bf gave me a memory stick that had 3 different book on it 1 about learning java, 1 about web design and the last it learning python
So right now i started reading about java and I find it so interesting even though I only just started. I mean Iam learning that its used in neerly everything to do with computers But anyway iam just wondering if its hard to learn the whole thing like some people have told me. I just started reading so I haven't got into any big things yet |
|
|
|
|
#2 (permalink) |
|
Regular
|
I'm in a Java course at my school(we have AP Java also), it's easy at first with the simple code like:
Code:
public class TrivialApplication{
public static void main(String args[]){
System.out.println("HELLO WORLD!");
}
}
|
|
|
|
|
#3 (permalink) |
|
Not your typical kid
|
I think you wanted String[] args, but close enough
.As for learning the whole language -- the language itself is fairly small and simple, so learning it shouldn't be too bad. Now, learning the entire API, that'd be silly. The Java API covers more things than you'd ever need yourself, but come in real handy when designing a specific type of application. For instance, this past semester I took a course in cryptography where I found the message hash and digital signature classes quite handy. What you want to do is know the core language plus the common API sections (e.g. java.util) and then be able to read the API docs (http://java.sun.com/javase/6/docs/api/). It may seem a little overwhelming now, but you'll learn to love it. That's one thing Sun is great for -- their documentation. |
|
|
|
|
#4 (permalink) | |
|
Regular
|
Quote:
Actually....for the past year I've been using Code:
(String args[]){
|
|
|
|
|
|
#5 (permalink) | |
|
Not your typical kid
|
Does that even compile for you? If so, it's a new feature (?).
EDIT: Well, I was curious so I looked it up. According to Sun's docs: Quote:
Last edited by chevre; 05-05-2008 at 10:39 AM. |
|
|
|
|
|
#7 (permalink) |
|
Regular
|
lol,i wanna learn java and a whole lot of crypt-o-things
see i know alot bout windows,still i wanna learn all the cmd commands off by heart so i dont needa always type /help lol. see i wanna learn to write viruses,and how to hack through firewalls,ect,ect all that jargan. |
|
|
|
|
#10 (permalink) | |
|
Regular
|
Quote:
And chevre, yeah it compiles just fine, but I know what you're talking about, the older books have it set up as Code:
(String[] args){
Code:
(String args[]){
|
|
|
|