What is the difference between Type and Like?

Questions by gurmukh

Showing Answers 1 - 6 of 6 Answers

tina09

  • Mar 22nd, 2006
 

TYPE, you assign datatype directly to the data object while declaring.

LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly.

veni

  • Mar 25th, 2006
 

Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object.

  Was this answer useful?  Yes

srinivasa reddy

  • Jun 15th, 2006
 

type refers the existing data type

like refers the existing data object

rajesh velamala

  • Oct 7th, 2007
 

In type we refer the data type and with like we create work area for the data type.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions