Posts: 3
Joined: Wed Oct 21, 2015 2:24 am

Java Tutorial

Postby jackpilson225 » Wed Oct 21, 2015 2:27 am

Anyone tell me about java programming language?
Posts: 26
Joined: Sun Sep 06, 2015 1:18 pm

Re: Java Tutorial

Postby AndersM » Wed Oct 21, 2015 8:50 am

Oracle can.
Posts: 11
Joined: Thu Oct 29, 2015 10:38 am

Re: Java Tutorial

Postby jwenting » Thu Oct 29, 2015 9:34 pm

Oracle's tutorials are really good, but I'm partial to this book http://www.amazon.com/Agile-Java-Crafti ... 0131482394
It's not the newest, not the latest and greatest, I know, but it explains the basics very well.
I may be biassed (I was one of the proof readers after all) but IMO it's probably the best beginners' book on Java currently out there.
Head First Java (http://www.amazon.com/Head-First-Java-K ... 0596009208) is also good, but has a style all its own that may or may not suit your taste.

They're both good introductory books, the first probably will have more value later as a reference but the second might be more suitable as a learning tool depending on your learning style.

Another invaluable thing to have is the API documentation, which you can download from Oracle's Java download site and install alongside your JDK (on your PC preferably, it's several hundred megabytes of html).
http://www.oracle.com/technetwork/java/ ... index.html
Latest versions as of today is 1.8.0_65-b17

Experiment, and have fun. And above all, don't be afraid to ask questions. I've been writing Java professionally for 18 years and still learn new things, in no small part by researching answers to questions other people ask on programming forums :D
Posts: 1
Joined: Thu May 05, 2016 6:55 am

Re: Java Tutorial

Postby itian.kongu » Thu May 05, 2016 7:03 am

These links are very useful for beginners to learn Java online
Java Tutorial
Java Oracle
Head First Java
Posts: 1
Joined: Mon May 08, 2017 10:06 am

Re: Java Tutorial

Postby bat.petrov » Mon May 08, 2017 10:12 am

If you are looking for a "poor" java tutorial, the official Oracle java tutorial is a good choice.
There is another useful page on Java tutorials which has a section about Raspberry Pi and Java
Posts: 4
Joined: Sun Jun 11, 2017 6:43 am

Re: Java Tutorial

Postby megamarky » Mon Jun 19, 2017 7:56 am

Hi guys I'm a long term Java developer and architect and I'd like to point out a few aspects as well. When you are a starting off programming it's also important to understand what ways are simplifying programming. One of these ways are frameworks, it means that someone has done a lot of work that usually you would have to do yourself to solve lots of problems.

By choosing a framework and using it for learning with tutorial projects is one good way. But to notice, this is after you have learned the core basics to start off. Usually you have to learn lots of different frameworks that change over time.

In Java one framework in Spring and it has lots of good documentation at hand also for beginners. Spring Boot is a simplified way to build applications. Here's a few good tutorial links.

https://springframework.guru/spring-boo ... initializr


Posts: 13
Joined: Thu Jun 23, 2016 4:57 pm

Re: Java Tutorial

Postby SamusDrake » Fri Jul 07, 2017 9:19 pm

Its a general purpose language with a "write once, run anywhere" principle. So long as the target machine has a Java "Virtual Machine", it should run your application(but not in all cases, sadly).

Although technically not as fast as C++, Java is fast enough for most tasks. Java is popular for being more forgiving and to a certain extent takes care of memory management for you, unlike C++ which places all responsibility in your lap. It also provides a lot of helpful stuff like support for Strings which are far easier to implement in Java than C++.

It is one of the most widely used languages in the computing field. It is the language of choice for the Android platform.

Whilst I do not recommend a strict OOP language as a first language, Java makes a strong candidate for a second language. Its a fantastic follow up to beginner-friendly languages such as Javascript(no relation), Python or C. It can also serve as a stepping stone to C++...

EDIT: Sorry, just realised you asked this question two years ago...my bad! o_O