Tutorials for Java ,Core java ,Advance java ,oracle ,HTML, CSS, JavaScript, Java and other programming language tutorial Learn Java tutorial for beginners with examples in eclipse online. Java tutorial point for core java, servlet, jsp, struts, spring, for learning web technologies online. Content includes tutorials and references relating to HTML, CSS, JavaScript, PHP, AngularJS, SQL, Bootstrap, Node.js, and jQuery this is a website like w3school tutorialspoint etc

Search This Blog


Header Ads

Friday, 2 March 2018

Why did you have 5 referencenced data types ?


Why did you have 5 referencenced data types ?

Java Supports 5 referenced data types , They Are






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 .

No comments:

Post a Comment