Ask Question
3 June, 03:08

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

Select all that apply.

a. integer

b. Integer

c. Object

d. object

+5
Answers (2)
  1. 3 June, 03:22
    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.
  2. 3 June, 04:35
    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.
Know the Answer?
Not Sure About the Answer?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers