Explain different data types in Java.

Answer Posted / hr@tgksolutions.com

Java has two different kinds of data types, which are described below:

Data Type Primitive
Object data type or non-primitive data type

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are singleton services?

687


Why singleton pattern is better than creating singleton class with static instance?

807


What is bean? Where it can be used?

845


is there a separate stack for each thread in java? : Java thread

788


How do you check if a string is lexicographically in java?

741


What is string pool?

833


What are the five major types of reference sources?

753


Why is multithreading important?

712


Where is the singleton class used?

788


What are the new features in java 8?

814


What is the best way to findout the time/memory consuming process?

806


How to reverse a string in java?

787


Can a class be final?

710


Explain the use of shift operator in java. Can you give some examples?

745


What is a line break example?

775