Type Here to Get Search Results !

Why did you have 5 referencenced data types ?

0

Why did you have 5 referencenced data types ?


Java Supports 5 referenced data types , They Are

i-Array

ii-Class

iii-Interface

iv-Enum

V-Annotation

For storing multiple as one group  by using Single Name

By default a pdt variable can store only one value at a time, but in project we must store multiple values at a time . in this  we want to RDTS

For Storing multiple values of same type we must array .

For storing multiple values of different type we must use class .

For Storing multiple constant values with fixed names we must use enum 

interface and annotation are RDTS but they are not used for declaring multiple methods of an object to be implemented by sub type programmers .
Tags

Post a Comment

0 Comments

Recent-post