WinkyCode's Profile User Rating: -----

Reputation: 9 Worker
Members w/DIC++
Active Posts:
157 (0.1 per day)
23-February 11
Profile Views:
Last Active:
User is offline Jan 04 2014 06:41 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:

Latest Visitors

Icon   WinkyCode thinking about status...

Posts I've Made

  1. In Topic: Args or arguments, is it any difference?

    Posted 18 Oct 2013

    View PostRyano121, on 17 October 2013 - 09:31 PM, said:

    Remember that the main method is really no different to any other method in base thinking. As long as the method signature is public static void main(String[]) (which it is regardless of what you name the variable) the compiler won't care at all.

    Defining main is no different to defining any other method. The only special thing about main is it becomes the method that the compiler looks at to define the entry point for your program. It's just like any other method where you can name you parameters anything you want (although remember that variable names should be as descriptive as possible).

    Thank you. Yes, now I have tried with different variation after the ...String[].... Here is an simple example
    public class Hello_56 {
    public static void main(String[] potato)

    As a n00b, I bow and thanking the seniors in this area. Thank you so much!

    As far as solution goes, look at this
    public static void main(String[] anyThingGoes){

    You can in theory use any name after the String[] as long as is not a keyword. But the accepted practice is to use args.

    Riding for knowledge
  2. In Topic: Args or arguments, is it any difference?

    Posted 18 Oct 2013

    View Postandrewsw, on 17 October 2013 - 09:21 PM, said:

    You can call it args, arguments.. or potatoes. It is the name given to the String array that contains the command-line arguments that main() is automatically supplied with. Call it args though: there is no reason to break with an accepted practice.

    Ah, thank you. Now I understand it a bit better. Some books I have read on my native tongue started to change it back and forth and I did not understand why. Now I understand and one question mark is away. Big thank you!

    View Postmodi123_1, on 17 October 2013 - 09:22 PM, said:

    If I remember right - they are just command line arguments.. so you can name that variable what every ou like.

    Thank you. Also, thank you for the link. It gave some good information. :)
  3. In Topic: Computer Science Book Suggestions

    Posted 22 Aug 2013

    View Postmacosxnerd101, on 21 August 2013 - 07:32 AM, said:

    Those are probably better for the Java forum discussion! Remember that the CS forum is for more theory-specific discussion. :)/>

    Thank you for clearing that out :bigsmile: . I am currently not reading a computer science course due some technical issue. I forgot to send in something in time :sweatdrop: . Anyhow, my course at the local technical university is on hold for one year.

    Yeah, I have only read Java books yet. I thought I should add a push to the thread, hoping for a snowball effect.
  4. In Topic: Computer Science Book Suggestions

    Posted 20 Aug 2013

    My two books that is my favorite when learning Java is:
    • Sams Tech Yourself Java in 21 days by Rogers Cadenhead, sixth edition
      Straight on, write these type of code in order to achieve that output.
    • Ivar Horton's beginning Java, Java 7 edition
      More in depth of Java. Something I read when I mostly just want to read a good book on Java and time to time clink down the example code.

    Other then that, Microsoft Press Start Here! series is also good.
  5. In Topic: Re-installed computer only to find out Outlook mail is gone.

    Posted 12 Aug 2013

    I have contacted the ISP and they have no idea. Figures.

    I will pull the drive and use an other HDD to install the system so at least my father can use the system.

My Information

Member Title:
D.I.C Head
27 years old
June 15, 1988
Sweden, Nacka
Books about programming, learning programming Java, JavaScript, HTML and looking into C# (any diff between C, C++ and C# anyone?)
Full Name:
Leopold H Birkholm
Programming Languages:
Java, C#

Contact Information

Click here to e-mail me
Website URL:
Website URL
Skype  leopold.birkholm


WinkyCode hasn't added any friends yet.


WinkyCode has no profile comments yet. Why not say hello?