Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

I need help with Java

I need help with Java

lele0108lele0108 Member
edited October 2012 in General

Could a kind soul come online and help me with Java? I have a big java exam tomorrow.

sicong.liu98 is my Skype.

~ Jimmy VortexUnit. Who likes poptart.cats?

Comments

  • RandyRandy Disabled

    let us know your question? ;-) here mayb?

  • Could you explain classes, objects, and constructors to me?

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • JunJun Member

    class - a construct that is used as a blueprint to create instances of itself object - instance of class, has lifespan - created and eventually destroyed

    In short, class is waffle maker and object is waffle You need to make waffle maker first and then make as many waffles as you want

  • @lele0108 said: Could you explain classes, objects, and constructors to me?

    Sure, message me on Skype or just post here.

    A class is like a model. It's a definition of something.

    An object is an instance of a class.

    Constructor is a method used to create a new object. You can give it inputs/things that need to be done.

    You can imagine a class is a recipe. An object would then be a dish made from the recipe. A constructor would be what you did to create this recipe. The arguments to the constructor would be ingredients.

    Internap VPS, Web Hosting and more - Cloud Shards | Need a VPS Upgrade?
    Query Foundry, LLC AS62638
  • JunJun Member

    Constructor is a special subroutine called to initialize object

  • jcalebjcaleb Moderator

    PM sent

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • jcalebjcaleb Moderator
    edited October 2012

    @lele0108 said: Could you explain classes, objects, and constructors to me?

    Classes is like blueprint. A specification of what something have and how they will behave. E.g. Person, Car.

    Classes have 2 main components. data and methods. Data (variables) holds the state of the object. While method defines the behavior.

    Objects are specific instances of Classes. E.g. Jon is an object of type person. My Toyota Innova with plate number XYZ-123 is an object of type Car.

    Objects are created at some particular point in time. A constructor is a special method of what are the things that should be done when creating a particular object.

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • Thanks guys :D

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • jcalebjcaleb Moderator

    are you okay already? if you have more questions, just ask bro

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • I've looking at it, but I'll pm me if I need anything else.

    LET is awesome :)

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • @lele0108 said: I'll pm me

    *you ;)

    PS: I don't know any java :D

    SimpleNode | Minecraft and VPS Hosting | KVM and OpenVZ | Dallas, TX and Phoenix, AZ | PayPal and BitCoins accepted

    Thanked by 1jcaleb
  • jcalebjcaleb Moderator

    @lele0108 said: LET is awesome :)

    its a family!

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • @lele0108 What kind of exam is it? Java's great!

  • sorry but this is spoon feeding. his questions are probably chapter 1 of their reference book.

  • @vampireJ said: sorry but this is spoon feeding. his questions are probably chapter 1 of their reference book.

    Actually we're like a month into our java course :|

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • a month into your course and still do not know about these basic stuffs?

    we where probably already coding some stuffs a month into our java course during our time.

  • If you have an exam tomorrow on Java and you don't know what objects are, you're beyond help.

    My Advice: : VPS Advice
  • Sorry to say it @lele0108 but if you're being taught properly, or atleast studying the right material, this far in, you should understand what the fundamentals are.

    In any case; there's plenty of resources online :).

  • classes are what you go to to learn Java :D

    Thanked by 3Infinity eastonch tux
  • @raindog308 @eastonch

    Our teacher sucks, he assumes you know a lot of the things, and just speeds along. I spent around 3 hours reading through java online yesterday, so I figured out most of it.

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • This book is good and free:

    http://mindview.net/Books/TIJ/

    My only complaint with it is that it's entirely language-oriented. In these major languages (Java, C#, etc.), in reality you spend more time learning how the big libraries work than the language, but if you're starting from scratch, TIJ is good.

    My Advice: : VPS Advice
    Thanked by 1lele0108
  • @lele0108 said: Could you explain classes, objects, and constructors to me?

    Day before java exam, good luck :=

  • tuxtux Member

    If you understand Finnish, you can look this site.

Sign In or Register to comment.