journeyincodes-blog asked:

Hi I'm taking computer science and I want to learn the Java programming but I don't know where to start, Where shoul I start?

shaunbebbington answered:

Hi,
It’s always good to start at the beginning:

public static void main ( String [ ] args )
{
System.out.println ( “Hello mum!” );
}

The public static void main is where your Java programme will execute from; the String [ ] args bit simply means that your programme will accept zero or more arguments or parameters. This is mostly for command line execution.

This programme will simply display:

Hello mum!

My suggestion is to download NetBeans for Java, or Eclipse for Java, and start programming.

As for Java itself, the language is merely a means to an end. You want to create software for your computer or smart phone? Java is one of the ways to achieve this. More important than the language syntax is a good understanding of programming principles. It’s okay knowing what a Boolean and an integer is but much better to know when to use them and in what context etc.

Debugging is another crucially important skill, something that you will hopefully learn as you go.

Good luck with your studies.

The thing about programming is that non-developers will assume that you’ll enjoy working with CSS as much as real code, and this is the cause of much strife.

(via thethingaboutprogramming)

Except “real code” is almost always not the high-level scripting that software developers actually work with. Real code is the instruction set that the CPU understands and what those source files compile to. Real code is typically expressed as binary and/or hexadecimal, or as assembly language.