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 java object be locked down for exclusive use by a given thread? : Java thread

779


What is oop principle in java?

746


Which is better list or arraylist in java?

659


Can we execute java program without main method?

735


What is append function?

771


What is the difference between a method and a function in alice?

815


What happens to a static var that is defined within a method of a class?

783


What are the different access modifiers available in java?

797


Where are global variables stored?

698


What do you understand by the term string pool?

766


What is the use of default method in interface in java? Explain

749


What is loop in java?

753


What is the major difference between linkedlist and arraylist?

719


Can a static method be final?

774


Differentiate storage classes on the basis of their scope?

880