macosxnerd101's Profile User Rating: ****-

Reputation: 11135 Legendary
Group:
Admins
Active Posts:
46,306 (19.8 per day)
Joined:
27-December 08
Profile Views:
592,296
Last Active:
User is online 6 minutes ago
Currently:
Viewing Board Index

Previous Fields

Country:
Who Cares
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Honda
Dream Kudos:
4750
Expert In:
Java, Graph Theory, Combinatorics, Data Structures, Economics

Latest Visitors

Icon   macosxnerd101 Please do not PM me with programming help requests.

Posts I've Made

  1. In Topic: non-static method cannot be reference from static content

    Posted 24 May 2015

    Glad I could help! :)
  2. In Topic: non-static method cannot be reference from static content

    Posted 24 May 2015

    Already answered in my first post. :)

    Note- a yellow warning in this case isn't in and of itself cause for concern. I would discuss with your professor the design details I mentioned though, regarding static vs. non-static.
  3. In Topic: non-static method cannot be reference from static content

    Posted 24 May 2015

    First, please do not quote large posts. There is a big Reply button at the bottom of each thread.

    Note that this.name refers to the instance variable, or the attribute of the object. The parameter name in the constructor is a local variable that takes on the value of the input when the constructor is invoked. Then the line this.name = name; assigns the input value to the instance variable. So Person p = new Person("John"); constructs a Person named John.

    If I had the constructor
    public class Person{
     
         private String name;
    
         public Person(String name){}
    }
    
    


    Then Person p = new Person("John"); would not cause p.name to be "John".

    Play around with this sample and throw in some println() statements to help you see what's going on.

    Good luck!
  4. In Topic: Please Help - I'm Stumped on this Problem!

    Posted 24 May 2015

    Since this is an interview question, we can't help you.
  5. In Topic: What do I need to learn to build an app with databases

    Posted 24 May 2015

    Enterprise Java tends to be quite bulky as a whole. The platform is geared towards big businesses, not individuals.

My Information

Member Title:
Games, Graphs, and Auctions
Age:
22 years old
Birthday:
January 5, 1993
Gender:
Years Programming:
8
Programming Languages:
Expert: Java SE
Experienced: PHP, SQL, Android
Learning: Java ME, Erlang, C, Python

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

  • (21 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  1. Photo

    depricated Icon

    03 Nov 2014 - 07:24
    I've had Summer Nights stuck in my head all morning and I blame you.
  2. Photo

    macosxnerd101 Icon

    09 Jul 2014 - 14:54
    The next time I'm in New York, I'm totally going!
  3. Photo

    modi123_1 Icon

    09 Jul 2014 - 11:58
    Make sure to plan a weekend trip: http://momath.org/
  4. Photo

    da1 Icon

    17 Jun 2014 - 12:11
    Thanks for the help last night.
  5. Photo

    macosxnerd101 Icon

    02 Jun 2014 - 23:27
    That's a neat find! Definitely worth knowing about. Thanks for sharing!
  6. Photo

    jon.kiparsky Icon

    02 Jun 2014 - 23:24
    came across this title, thought you might find it worth knowing about: http://www.librarything.com/work/360374
  7. Photo

    pbl Icon

    22 May 2014 - 13:26
    Ya really busy making the books in www.pblinc.ca/majestic
  8. Photo

    macosxnerd101 Icon

    14 May 2014 - 10:31
    We looked at polyhedra and vertex configurations in graph theory towards the end. Neat stuff! Thanks for sharing!
  9. Photo

    modi123_1 Icon

    14 May 2014 - 09:35
    Fun visualizations of hyperbolic shapes.
    "Hexagonal Hyperbolic Honeycombs"
    https://johncarlosbaez.wordpress.com/2014/05/14/hexagonal-hyperbolic-honeycombs/
  10. Photo

    modi123_1 Icon

    24 Mar 2014 - 13:20
    NP hard problem? Graph theory? Colored balls?! what's not to love?
    http://jacquerie.github.io/hh/
  11. Photo

    macosxnerd101 Icon

    12 Feb 2014 - 12:21
    Thanks, everyone!
  12. Photo

    Martyr2 Icon

    11 Feb 2014 - 11:53
    Congrats on the legendary status. Well deserved.
  13. Photo

    Dogstopper Icon

    10 Feb 2014 - 11:21
    Wow. 10k reputation! That's pretty amazing
  14. Photo

    belgarion262 Icon

    10 Feb 2014 - 09:49
    10,000 Rep, congrats :p
  15. Photo

    andrewsw Icon

    10 Feb 2014 - 02:48
    Wow, 10k?! Legend, wait for it, -ary!
  • (21 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »