Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Learning Java (http://www.chiefdelphi.com/forums/showthread.php?t=87577)

biancs15 20-11-2010 19:14

Learning Java
 
Hi everyone.

I really want to learn how to program using java.
Does anyone know what is the best way for me to learn the language?

Thanks.

Sincerely,

Austin Bianchini

MagiChau 20-11-2010 20:39

Re: Learning Java
 
There isn't really a best way. You have to self-explore with guidance from tutorials, guides, books, or mentors.

There is a Getting Started guide for specifically programming for the robot available on this page http://first.wpi.edu/FRC/frcjava.html

There are plenty of resources available to help you and there's always places and people to ask questions if you get stuck.

synth3tk 21-11-2010 00:39

Re: Learning Java
 
If you're familiar with another OOP language (C++, Python, even parts of PHP), then you're already halfway there. If this is the case, then you simply need to learn the syntax, nagging rules and guidelines, etc. I recommend through the Getting Started guide that ZonChau mentioned. While it's not a "beginner's guide" to Java, it does introduce you to programming the robot in Java. How to include classes, how to use some basic functions, etc. The rest, I pretty much learned from just Googling.

derekwhite 23-11-2010 09:51

Re: Learning Java
 
There is an online (and downloadable) Java SE tutorial that is a good place to start learning Java. Java SE = "Standard Edition", which is the version of java designed for desktops and servers. Since Java for FRC is based on the ME ("Micro-edition"), there are some parts of the tutorial you can skip over:

Starting from http://download.oracle.com/javase/tutorial/ there are several "trails" to follow:
  1. Getting Started - "Hello World" and Java marketing
  2. Learning the Java Language - fundamentals of programming. Can skip:
    • "Enum Types" and "Annotations"
    • "Generics" section.
  3. Essential Java Classes - Cover only these sections:
    • Exceptions
    • Basic I/O - Byte, Character, Buffered, and Data streams
    • Concurrency - but skip over "High Level Concurrency Objects" and any mention of classes in java.util.concurrent.

You can find the full API documentation (javadoc) for Java ME, WPILibJ, and the Squawk JVM in the Java for FRC SDk once you install it, in sunspotfrcsdk/doc/javadoc/index.html. You can also see the Java ME API set online at http://download.oracle.com/javame/co...139/index.html.


All times are GMT -5. The time now is 09:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi