1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
KATRIN_1 [288]
4 years ago
9

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

Computers and Technology
2 answers:
gtnhenbr [62]4 years ago
4 0

Answer:

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.

sasho [114]4 years ago
4 0

Answer:

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.

You might be interested in
To create the array variable named ar, you would use :A. int ar;
vampirchik [111]

Answer: (C)

Explanation:

You can declare it as:

int[ ] ar; or

int ar[ ];

7 0
4 years ago
Someone to explain one by one of the 7 C's in communication skills​
antiseptic1488 [7]

Answer:

clear)

be clear about the purpose of the message you’re delivering.

concise)

When communicating messages of this nature it’s important to stick to the point and keep your messages short and simple.

concrete)

When shaping your communication you must ensure that you are specific and that the logic and messages that you’re using fit together, build on each other and support each other.

correct)

It’s essential that both the factual information and the language and grammar you use are correct.

coherent)

If your communications are not coherent they will not be effective.

complete )

When creating a message, it’s important to give the recipient all of the information they need to follow your line of reasoning and to reach the same conclusions you have.

courteous)

You can increase the effectiveness of your communications by being polite and showing your audience that you respect them.

Explanation:

6 0
3 years ago
Convert infix to postfix
kvv77 [185]

Answer:

static int checkSymbol(char ch)

{

switch (ch)

{

case '+':

case '-':

return 1;

case '*':

case '/':

return 2;

case '^':

return 3;

}

return -1;

}

static String convertInfixToPostfix(String expression)

{

String calculation = new String("");

Stack<Character> operands = new Stack<>();

Stack<Character> operators = new Stack<>();

 

for (int i = 0; i<expression.length(); ++i)

{

char c = expression.charAt(i);

if (Character.isLetterOrDigit(c))

operands.push(c);

else if (c == '(')

operators.push(c);

 

else if (c == ')')

{

while (!operators.isEmpty() && operators.peek() != '(')

operands.push(operators.pop());

 

if (!operators.isEmpty() && operators.peek() != '(')

return NULL;    

else

operators.pop();

}

else

{

while (!operators.isEmpty() && checkSymbol(c) <= checkSymbol(operators.peek()))

operands.push(operators.pop());

operators.push(c);

}

}

while (!operators.isEmpty())

operands.push(operators.pop());

while (!operands.isEmpty())

calculation+=operands.pop();

calculation=calculation.reverse();

return calculation;

}

Explanation:

  • Create the checkSymbol function to see what symbol is being passed to the stack.
  • Create the convertInfixToPostfix function that keeps track of the operands and the operators stack.
  • Use conditional statements to check whether the character being passed is a letter, digit, symbol or a bracket.
  • While the operators is  not empty, keep pushing the character to the operators stack.
  • At last reverse and return the calculation which has all the results.
4 0
3 years ago
Specifications What are the best practices you should communicate to the Design team about the formatting of the spec book
Evgen [1.6K]

The Spec book, describes a formatted writing which contains the major specifications and description of the building blocks of an application or process. The design process should follow formatting guidelines such as ;

  • Inclusion of table of content, which gives a table like format of the content in the book within the first 25 pages.

  • Inclusion of the Spec section number in the <em>header and footer section</em> of each page of the book.

  • Avoid including any other value with the <em>spec section number</em>. Hence, the spec section number must be distinctly seperated.

Learn more : brainly.com/question/25648287

3 0
3 years ago
all of the following are examples of real security and privacy risks except:a. hackers spam viruses identity theft
jonny [76]
All of them have to do with computers except identity theft so that's the answer
7 0
3 years ago
Other questions:
  • A user is troubleshooting a mobile device app that is displaying errors and has contacted the app manufacturer’s technical suppo
    14·1 answer
  • When coding, how do you get animations to work??
    9·1 answer
  • The establishment called ABC Enterprise requires a Java program to keep a database of the inventory of the products that it sell
    8·1 answer
  • Write a program to enter a number and test if it is greater than 45.6.if the number entered is greater than 45.6 the program nee
    13·1 answer
  • Which of the following is a type of savings vehicle? A.Certificate of Deposit
    8·1 answer
  • Based on the module,
    9·1 answer
  • Name 6 examples of how telemedicine is used in healthcare
    7·1 answer
  • WAP to find the area of cuboid​
    13·1 answer
  • What is folded card publishing?​
    5·2 answers
  • For which of the four game elements will you give a detailed description about the challenges that the player will face, such as
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!