Value of an object

To find the value of an object

  • obj.doubleValue to find the value of Double class object
  • obj.intValue to find the value of  Integer class object
To find the class type:
 Obj.getClass

0 comments:

Post a Comment

My Instagram