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

Can we access instance variables within static methods ?

823


What is java regex?

747


what is the difference between Object Based Language and Object Oriented Language?

793


What is isa relationship?

755


What is dynamic binding(late binding)?

797


What is final modifier?

755


Is there any case when finally will not be executed?

724


How do you achieve singleton?

733


Can you sort a list in java?

731


Is heap stored in ram?

717


If a method is declared as protected, where may the method be accessed in java programming?

714


How is garbage collection controlled?

923


List the different types of classloaders in java.

727


What do you mean by an object in java?

870


What do you mean by local variable and instance variable?

716