Exercise Intro - "Hello World"

View previous topic View next topic Go down

Exercise Intro - "Hello World"

Post by Ivi on Sat Feb 06, 2016 6:44 pm

Software needed: Windows: https://netbeans.org/downloads/   or  Linux: http://www.wikihow.com/Install-Oracle-Java-JRE-on-Ubuntu-Linux

Purpose of task: Learn how to print "Hello World"

Task: Write a program that can output "Hello World"


Solution:


public class HelloWorld

{

public static void main(String[] args)

{
 
  System.out.println("Hello World.");

}

}


avatar
Ivi
Admin

Posts : 41
Join date : 2016-02-06

View user profile http://website-lab.forum-board.net

Back to top Go down

Completed

Post by Miller on Sun Feb 07, 2016 4:25 pm

Hey, I finished the first three exercises of chapter one last night. both through dr java and through the command line. I have been having troubles getting netbeans working. Although it says online maybe that is best to learn using a text editor. Although ill continue to fuck with it. Lol i just installed apache onto my laptop and have been experimenting with it locally to get the php to run through the browser.
avatar
Miller
Admin

Posts : 19
Join date : 2016-02-06

View user profile

Back to top Go down

Re: Exercise Intro - "Hello World"

Post by Ivi on Sun Feb 07, 2016 6:53 pm

Can we make a topic here with all the three exercises? I can add the solutions into the solution topic. This way we can have every solution in one place to help each other out, or in case we need to go back and review something.
avatar
Ivi
Admin

Posts : 41
Join date : 2016-02-06

View user profile http://website-lab.forum-board.net

Back to top Go down

Re: Exercise Intro - "Hello World"

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum