What are the data types supported by java?



What are the data types supported by java?..

Answer / Himansu Dariyal

Java supports several basic and reference data types. Basic data types include: (1) Integral Types (byte, short, int, long), (2) Floating Point Types (float, double), and (3) Character Type (char). Reference data types are classes and interfaces.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is an immutable object?

1 Answers  


How variables are stored in memory?

1 Answers  


What is difference between static method and static variable?

7 Answers  


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1 Answers  


How many bits is a string?

1 Answers  


how to create daemon thread in java?

1 Answers  


What is files manifesting?

1 Answers  


Is there a case when finally will not execute?

1 Answers  


i need source code for income tax program using java inheritance

1 Answers  


different types of threads?

18 Answers   TCS,


What is your platform’s default character encoding?

1 Answers  


Differentiate Vector and ArrayList?

6 Answers   Max Telecom, Wipro,


Categories