What is the difference between Object and Instance?

Answer Posted / nagarjuna

Object is the creating memory location by using new operator
Instance is the creating the reference.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a code to create a trigger to call a stored procedure

530


Which java collection does not allow null?

711


What is difference between jdk,jre and jvm?

557


What do you understand by garbage collection in Java? Can it be forced to run?

546


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

625






What is default locale java?

532


How many bits is a 64 bit byte?

531


Why enumeration is faster than iterator?

527


How big is a boolean?

571


Why lambda expression is used in java?

565


Differentiate between vector and array list.

626


How are variables stored in memory?

570


Can we nested try statements in java?

618


What is meant by distributed application? Why are we using that in our application?

543


What is string manipulation?

486