GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java

 Print  |  
Question:  what is difference between instance and object.?
what are the all difference between interface and abstract class?




November 11, 2005 05:20:37 #8
 praveen   Member Since: Visitor    Total Comments: N/A 

RE: what is difference between instance and object.?
 
Girish Gajwani Wrote:

instance means just creating a reference(copy) .

object :means when memory location is associated with the object( is a runtime entity of the class)  by using the new operator

interface is a set of abstract methods, all of which have to be overriden by the class whichever implements the interface

abstract class is a collection of data and methods which are abstact  (not all of them)


     

 

Back To Question