Top Categories

8.15 Anonymous Object in Java
  • Category:
  • Sub Category:
  • Objects
  • Tutorial
  • telusko
  • annonymous
  • java tutorial for beginners
  • anonymous object in java
  • Learning
  • Variables
  • Anonymous Class in java
  • navin
No Views

Two types of variables in Java – primitive variables and reference variables. A primitive type refers a primitive data type and reference type refers a class. The nameless object in Java is known as "anonymous object". That is, a constructor returns an anonymous object. 

Comments

You Might Be Interested In