[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

different data types

Posted on 2005-05-03
2
Medium Priority
?
260 Views
Last Modified: 2010-05-18
Hi,

Wondered if you could give me some info on the int, float, and double data types. Which data types can assigned to each other?

For example if x is an int, y is a float, and z is a double, will the following compile?

  z=x/y

and which data types can be added / taken away from each other etc...

Thanks,

JJ
0
Comment
Question by:jm_jackson
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 120 total points
ID: 13922362
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 13922438
:-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month18 days, 5 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question