93.8k views
0 votes
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

5 votes

Answer:

b. Integer

c. Object

Step-by-step 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.

User Pathdependent
by
4.7k points
4 votes

Answer:

The correct answer for the given question is option(b) i. e "Integer" and option(c) i.e "Object".

Step-by-step 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.

User Mike Katz
by
4.9k points