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

What is ternary operator in java?

815


What happens if I remove static from main method?

761


Does java support function overloading, pointers, structures, unions or linked lists?

827


What are latest features introduced with java 8?

818


Which collection does not allow duplicates in java?

709


Explain reverse a linked list recursive java solution?

749


Explain about narrowing conversion in java?

773


What is the major advantage of external iteration over internal iteration?

826


What happens if constructor is private?

780


How do you check if a number is a perfect square?

748


How will you reverse a link list without using recursion?

791


What is int short for?

726


What are the two types of java?

756


Can an integer be a string?

714


What is difference between checked and unchecked exception in java?

804