Explain different data types in Java.

Answer Posted / glibwaresoftsolutions

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

When should I use singleton pattern?

816


Where is stringbuffer stored?

771


What is java beans?

780


What best practices should you follow while writing multithreaded code in java?

795


What is method in java ?

857


Difference between method overloading and overriding.

810


What is compiler and what its output.

910


How can we make sure main() is the last thread to finish in java program?

952


Define jre i.e. Java runtime environment?

794


What do you mean by garbage collection used in java?

826


What is append function?

781


Where is jre installed?

810


What are the differences between checked exception and unchecked exception?

761


Can we create our own wrapper class in java?

756


What is the use of accept () method in java?

840