ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    Question

    In Java, which data type is used to store true or false

    values?
    A int Correct Answer Incorrect Answer
    B boolean Correct Answer Incorrect Answer
    C char Correct Answer Incorrect Answer
    D float Correct Answer Incorrect Answer
    E string Correct Answer Incorrect Answer

    Solution

    boolean can store only true or false.

    Practice Next
    More C Programming Questions
    ask-question