+ Reply to Thread
Results 1 to 3 of 3

Thread: Very imp interview question for experienced guys: What exactly do you mean by instance?

  1. #1
    Moderator e.ramakrishna1225's Avatar
    Join Date
    Aug 2012
    Location
    hyderabad
    Age
    22
    Posts
    6,234
    Rep Power
    63

    Very imp interview question for experienced guys: What exactly do you mean by instance?

    What exactly do you mean by instance? Reply


  2. #2
    Junior Member
    Join Date
    Sep 2012
    Age
    25
    Posts
    20
    Rep Power
    1

    Re: Very imp interview question for experienced guys: What exactly do you mean by instance?

    i too need ans

  3. #3
    Moderator e.ramakrishna1225's Avatar
    Join Date
    Aug 2012
    Location
    hyderabad
    Age
    22
    Posts
    6,234
    Rep Power
    63

    Re: Very imp interview question for experienced guys: What exactly do you mean by instance?

    Generally in any programming languages we do need memory to get execute our programs.

    In JAVA when we want to execute any program it won’t execute at a time. We can only execute the particular piece of code when only that portion of code required to be executed by the JVM. Since JAVA follows Dynamic loading concept.
    So our program needs memory to run. When we want to execute piece of code then that would be loaded into RAM from Hard disk and get execute , As soon as this happens the .exe code of our program would automatically gets deleted by JVM itself.

    We call the piece of memory which is allocated for that code is called Instance of memory.

    That is the reason why when we create an object certain memory will be allocated for that object thus we call that object as instance of class.


    Regards,

    Ram!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 20-12-10, 05:23 PM
  2. An interview question in C
    By rforravi in forum ds. c , c++ Interview / Technical Questions
    Replies: 4
    Last Post: 17-08-10, 02:24 PM
  3. Here is some QTP Interview question
    By newqtp in forum Testing Tools & QA
    Replies: 2
    Last Post: 24-01-08, 08:15 AM
  4. Replies: 3
    Last Post: 30-11-07, 01:11 PM
  5. hi guys an easy question
    By prashanth in forum VB / ASP.NET Technologies
    Replies: 1
    Last Post: 13-06-06, 04:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.1 PL1