Ask Question

Which of the following types does the Java programming language support?

Select all that apply.

a. integer

b. Integer

c. Object

d. object

+2
Answers (2)
  1. 26 February, 06:44
    0
    b. Integer

    c. Object

    Explanation:

    Among the given options Java supports Integer and Object types.

    Integer is the type for declaring integer value. You can declare a variable integer by writing int in front of it. There are no packages of the integer and object.

    Objects are the combination of the data given and the procedure that can be used to work on the data that is available.
  2. 26 February, 06:56
    0
    The correct answer for the given question is option (b) i. e "Integer" and option (c) i. e "Object".

    Explanation:

    The Integer is a wrapper class for int data type in the java programming language, The integer provides more flexibility in storing the data and manipulating the data.

    The syntax of using Integer type is given below

    Integer variable_name = new Integer ("value");

    For example

    Integer a1 = new Integer ("12");

    Object is the class in java programming language which is present in java. lang package. Object also describe the return type of the java constructor.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following types does the Java programming language support? Select all that apply. a. integer b. Integer c. Object d. object ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers