Geeks Talk

Prepare for your Next Interview




question

This is a discussion on question within the Java forums, part of the Software Development category; Difference between instance and Object...


Go Back   Geeks Talk > Software Development > Java

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-16-2008
Junior Member
 
Join Date: Jun 2008
Location: Noida
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
rkchugh is on a distinguished road
Post question

Difference between instance and Object
Reply With Quote
The Following User Says Thank You to rkchugh For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 06-20-2008
Junior Member
 
Join Date: Jan 2008
Location: India
Posts: 19
Thanks: 0
Thanked 3 Times in 1 Post
kumarprabu is on a distinguished road
Re: question

Hi,
ya there are some differences.
like..
Class A {}
A obj1; //this is the object declaration without occupy any memory..
A obj2 = new A(); //this is the object instance with occupy memory for this..

also we can't create an instance for abstract class as well as for interface..
Reply With Quote
  #3 (permalink)  
Old 06-20-2008
Junior Member
 
Join Date: Jun 2008
Location: KOLKATA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
palbidhan is on a distinguished road
Re: question

why swing is called lightweight component
Reply With Quote
  #4 (permalink)  
Old 06-20-2008
Junior Member
 
Join Date: Jun 2008
Location: KOLKATA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
palbidhan is on a distinguished road
Re: question

why swing is called lightweight ?
Reply With Quote
  #5 (permalink)  
Old 06-20-2008
Junior Member
 
Join Date: Jan 2008
Location: India
Posts: 19
Thanks: 0
Thanked 3 Times in 1 Post
kumarprabu is on a distinguished road
Re: question

read this page u know abt that

Java Swing - Lightweight components differ from heavy weight componants not because of one of the following reaso
Reply With Quote
Reply

  Geeks Talk > Software Development > Java


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Question padmakrishna Java 0 01-22-2008 03:04 PM
HR question sakshi_2801 Companies 4 09-17-2007 11:24 AM
SAS Question abdul99 Data Warehousing 0 07-19-2007 04:28 PM
QTP question? hetal desai QTP 3 07-11-2007 02:31 PM
HR question sakshi_2801 Brainteasers 0 07-05-2007 09:12 AM


All times are GMT -4. The time now is 01:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved