Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the output of this program? 1. class conversion { 2. public static void main(String args[ ]) 3. { 4. Double a = 295.04; 5. int b = 300; 6. byte c = (byte) a; 7. byte d = (byte) b; 8. System.out.println(c + “ “ + d); 9. } 10. }

Nengasca, Kim answered on April 6, 2022 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • byte[] b_arr = {71, 101, 101, 107, 115}; String s = new String(b_arr, 1, 4, "US-ASCII");

  • What is the output of this program? 1. class conversion { 2. public static void main(String args[ ]) 3. { 4. Double a = 295.04; 5. int b = 300; 6. byte c = (byte) a; 7. byte d = (byte) b; 8. System.out.println(c + “ “ + d); 9. } 10. }

    0
    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 06 2022
    Nengasca, Kim
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.