4

A beginner in learning java. I was beating around the bushes on internet from past a decade . As per my understanding upto now. Let us suppose a bottle of water. Here the bottle may be considered as CLASS and water in it be objects(atoms), obejcts may be of same kind and other may differ in some properties. Other way of understanding would be human being is CLASS and MALE Female be objects of Class Human Being. Here again in this Scenario objects may differ in properties such as gender, age, body parts. Zoo might be a class and animals(object), elephants(objects), tigers(objects) and others too, Above human contents too can be added for properties such as in in Zoo class male, female, body parts, age, eating habits, crawlers, four legged, two legged, flying, water animals, mammals, herbivores, Carnivores.. Whatever.. This is upto my understanding. If any corrections always welcome. Will be happy if my answer modified, comment below.

And for basic level.

Learn from input, output devices

Then memory wise cache(quick access), RAM(runtime access temporary memory), Hard disk (permanent memory) all will be in CPU machine. Suppose to express above memory clearly as per my knowledge now am writing this answer with mobile net on. If a suddenly switch off my phone during this time and switch on.Cache runs for instant access of navigation,network etc.RAM-temporary My quora answer will be lost as it was storing in RAM before switch off . But my quora app, my gallery and others will be on permanent internal storage(in PC hard disks generally) won't be affected. This all happens in CPU right. Okay now one question, who manages all these commands, input, outputs. That's Software may be Windows, Mac ios, Android for mobiles. These are all the managers for computer componential setup for different OS's.

Java is high level language, where as computers understand only binary or low level language or binary code such as 0’s and 1’s. It understand only 00101,1110000101,0010,1100(let these be ABCD in binary). For numbers code in 0 and 1’s, small case will be in 0 and 1s and other symbols too. These will be coverted in byte code by JVM java virtual machine. The program we write will be given to JVM it acts as interpreter. But not in C'.

Let us C…

Do comment. Thank you

Comments
  • 4
    I don't entirely agree with your examples of classes vs objects. A water bottle would itself also be an object, only it's blueprint would be a class
  • 0
    Seems legit 😉
  • 3
    Afraid I feel like you've missed the mark on classes vs objects - your examples are more like properties.

    As said, a class is a blueprint of an object you're creating. I could have for example a Zoo class, and create many different zoo objects, all with different properties.

    You seem to be trying to take a lot in in one go, which is admirable, but perhaps detrimental. I'd honestly try understanding lower level concepts first, then moving up to a programming language only after you have a thorough grip on the basics.
  • 0
    @AlmondSauce and what are these basics?
  • 0
    @AlmondSauce what could be the basic low level concepts to start with!
  • 0
    /★
    **********recommendation********
    Book:
    write great code

    Author:
    Randall Hyde

    Publisher:
    no starch press

    get a free PDF version using the following Google query...
    ^^^^^filetype:pdf write great code by Randall Hyde^^^^^
    **
    ***********************************
    ★/
Add Comment