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

Can you override private or static method in java?

758


What does += mean coding?

728


What is skeleton and stub? What is the purpose of those?

791


Which data type is class in java?

771


Define jre i.e. Java runtime environment?

781


Can a set contain duplicates?

709


What is the inheritance?

742


What kind of variables can a class consist?

797


Can we use String with switch case?

867


What is the static field modifier?

820


What is the r character?

798


What is final access modifier in java?

824


What is the difference between object oriented programming language and object based programming language?

760


What happens when heap memory is full?

742


State one difference between a template class and class template.

844