Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

object class java

The Object class is the parent class of all the classes in java by default.In 
other words, it is the topmost class of java.
The Object class is beneficial if you want to refer any object whose type you 
dont know. Notice that parent class reference variable can refer the child 
class object, know as upcasting.
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #object #class #java
ADD COMMENT
Topic
Name
9+9 =