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
Alja [10]
3 years ago
13

What type of selection can be used in leu of switch/case?

Computers and Technology
2 answers:
tankabanditka [31]3 years ago
7 0
An if or else statement can be
NikAS [45]3 years ago
6 0
In lieu of a switch/case statement, you can use an if/else statement. For example:

switch(x)
{
     case 100:
           System.out.println("Good grades! Keep it up!");
     case 50:
           System.out.printfln("Bad grades! Work harder!");
}


OR, you can use if/else:

if (x == 100):
          Sytstem.out.println("Good grades! Keep it up!");
if (x == 50):
          System.out.printfln("Bad grades! Work harder!");
You might be interested in
Shelly recorded an audio composition for her presentation. Arrange the following steps that Shelly followed in the proper order.
Dimas [21]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Shelly recorded an audio composition for her presentation. She needs to follow the following proper orders to get composition done for her presentation.

  1. She connected her microphone to her computer.
  2. She selected the record option in her DAW.
  3. She added effects to her audio composition.
  4. She saved the audio composition in an appropriate file format.
  5. She saved her audio composition on an optical drive.
3 0
3 years ago
What is the term for water wave that is created by an underwater earthquake
Mashutka [201]
A tsunami/tidal wave is a huge wave caused by an earthquake.
7 0
3 years ago
Which of the following is not true about primitive data types.
SVEN [57.7K]

Answer:

The point 2 is incorrect as Primiticve data types are immutable

Explanation:

3 0
3 years ago
What is the serializable interface and what makes an object serializable?
Varvara68 [4.7K]

Answer: Serializable interface is the interface that acts as the maker persisting without any specific method and members in Java. The maker has the objective of identification of class for serialization method. This helps in the conversion of the object value in the byte form.

Object is serialized by converting the state into byte version and thus can be returned to object copy . The java.io.Serializable interface is the requirement for the conversion of any object of particular class or superclass. This technique is followed for making the data flow on the network efficient and easy.

5 0
4 years ago
Amanda a recently moved into a new home. Everyone has their own tablet, and wants to connect to the same network, no matter wher
vagabundo [1.1K]

Answer:

wifi is the best network for all, As it gets in all corners of the house.

7 0
3 years ago
Other questions:
  • What is print media?
    14·1 answer
  • Assume the integer variable num has been assigned a valid value. What is the purpose of the following code segment?
    14·1 answer
  • How do you solve this.
    12·1 answer
  • Do you need internet to play xbox one
    14·1 answer
  • A security policy is a?
    11·2 answers
  • In python
    9·1 answer
  • BST
    13·1 answer
  • William is an Architect in charge of designing a new library for a city. Which tasks will he need to perform to ensure the proje
    10·2 answers
  • Which two peripherals are not required to browse the internet?
    8·1 answer
  • failed logins or instances of denial of access to restricted files may be indicators of compromise. suggest where records of suc
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!