Tuesday, July 31, 2018

primitive data types & non-primitive data types



 variable of a non-primitive type doesn't contain the value directly; instead, it is a reference (similar to a pointer) to an object. (It is not possible in Java to create user-defined value types). Java has eightprimitive types: byte , short , int , long , char , boolean , float and double 


Image result for primitive and non-primitive


No comments:

Post a Comment

function declaration, expression and call/invoke/execution

  The  function  declaration defines a function with the specified parameters. The  function   keyword can be used to define a function ins...