Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between Object and Instance?

Answer Posted / titupathirao

For example, if I declare a class like

Animal a=new Animal();

Is variable 'a' in above is an instance which has an object of Animal type?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What 5 doubled?

937


What is the base class of all classes?

1003


What is the meaning of flag day?

972


What is difference between length and length() method in java ?

946


What is the list interface?

1044


What do you mean by inner class in java? Explain

1013


What is parameter example?

974


How to compare two strings in java program?

1018


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

1997


Why do we use bufferedreader?

935


What is variable argument in java?

956


What is a 16 bit word?

950


what are Hostile Applets?

2023


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2064


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

1052