2 Answers - Sort by: Date | Rating
object has a memory allocated to it during its creation using the syntax
classname var=new classname();
But for instance creation it returns only a pointer refering to an object,syntax is
classname varname;
classname var=new classname();
But for instance creation it returns only a pointer refering to an object,syntax is
classname varname;
1
0
Object is just a memory allocated to the variables of class . But at particular time the values hold by variables is the instance of that object . A single object can have more than one instance.
0
0
Guest
answered 8 months ago
- Write A Program To Display A String With An Embedded Quote:"Sachin Has Played A Game Of His Life"?
- Why Java Is Popular In Market?
- What Is Plateform?
- How Can I Use Dmp File In Java?
- Can You Write A Program Called InheritanceTest.java To Support An Inheritance Hierarchy For Class Point–Square–Cube?
- Why Java Not Supports Multiple Inheritence?
- A Java Program To Get Sports Marks In Student Package And Print Total Marks Of Student?
- The Project Aims To Implement A JAVA Parser? 1- Classes And Functions 2- Arithmetic/logic Expressions 3- If Statement
- How To Get Java On My Lg 260?
- Write A Java Program To Store A Number Find If It Is Positive Or A Negative Number If Positive Print I Am The First?
- How To Update The Sim 3 Expansion?
- What Is An Attribute In Java?
- Do I Have To Write A Main Method In Every Class I Create?
- What How The Step For Make Library Management?
- In Which Process We Can Start Java?
- Define The Concept Of Java Byte Code?
- How To Run Remote Method Invocation In More Machine?
- How To Run Java Remote Method Invocation In More Machine?
- How To Make A Java Program That Will Ask The User To Input A Number And Display All The Even Number And The Sum Of All Even Numbers Based On The Inputted/ Given Numbers?
- Is A Static Variable An Instance?
- What Does Literati-on Mean?
- What Is Abstract Class In Details?
- What Is Meant By Remote Method Invocation In Java?
- What Is Meant By Servlet In Java?
- What Is Latest Technologies In Java?
- What Is The Difference Between Reference, Instance And Object In Java?
- What Is The Difference Between Object, Reference And Instance?
- What's The Difference Among Object, Reference And Instance?
- What Is The Difference Between Object And Instance In Relation With Memory?
- What Is The Use Of Instance Variable In Java?
- What Is 'Instance Of' Operator In Java?
- Give Me A Instance Example In Java Program. Can You Help?
- What Is Object In Java?
- What Is The Difference Between URL Instance And URLConnection Instance?

New Comment - Comments are editable for 5 min.