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

Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

801


What is high level language in computer?

770


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

779


What is stringwriter?

746


How can you read an integer value from the keyword when the application is runtime in java? example?

880


Is arraylist ordered?

795


Can we convert stringbuffer to string?

781


What is java virtual machine and how it is considered in context of java’s platform independent feature?

867


What is boolean flag in java?

812


What is lazy programming?

790


What are different types of multitasking?

748


What is the difference between the paint() and repaint() methods?

813


What is lazy initialization in java?

765


What is difference between an object and a class?

848


What is the final keyword?

771