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
prohojiy [21]
3 years ago
10

JAVA QUESTION::

Computers and Technology
1 answer:
allochka39001 [22]3 years ago
8 0

Answer:

3) 44 10 44

Explanation:

Given data

int [] val = { 3, 10, 44 };

The total number of parameters of given array are 3, so total length of array is also 3.

The indexing of array starts with '0', Therefore the <u>indexes</u> of array with length zero are: {0,1,2}

The value of array at index 0 is = 3

similarly

value at index 1 = 10

value at index 2 = 44

Any value of index 'i' of an array is selected using array[i].

Therefore,

val[0] is selecting the value of array located at index '0'.

val[0] = 3

val[2] is selecting the value of array located at index '2'.

val[2] = 44

Finally,

val[0] = val[2]; is copying the value placed at index 2 (44) to value placed at index 0 (3). Hence, the output would be { 44 10 44}. So 3rd option is correct.

 

You might be interested in
Universal Containers is designing a new community using the Customer Community license type. They would like to have the users c
motikmotik

Answer:

The correct option is B. Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access.

Explanation:

Note: This question is not complete as the options are not included. The complete question with the options is therefore provided before answering the question as follows:

Universal Containers is designing a new community using the Customer Community license type. They would like to have the users complete survey questions through the community interface and store the responses in a Custom Object that has a lookup to the account object. Any internal user who has access to the account should be able to see all survey responses. All Customer Community users should be able to see surveys filled in by other users for their company, but not surveys for other companies. What are the correct security settings to achieve this?

A. Set all Organization-Wide Default security to be "Public Read/Write" for internal users and "Private" for external users.

B. Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access

C. Set all Organization-Wide Default settings to be "Public Read/Write" for both internal and external users.

D. Set the custom object to be master-detail to the Account and leave the Organization-Wide Default settings as their default values.

The explanation of the answer is now provided as follows:

Organization Wide Default security refers to settings that provides most restrictive settings that may be opened up by Role Hierarchy and Role hierarchy can be opened by Sharing rules. And the visibility of records at the record level is determined by all of these factors. Private, Public Read, Read/Write, and Read/Write & Transfer are the four permissions available in Sharing Rules.

The rules that are used to offer sharing access to users in public groups, roles, or territories are referred to as sharing rules. By introducing automatic exceptions to your org-wide sharing policies, sharing rules allow certain users more access.

By implication, the correct security settings to achieve the objective stated in the question is to set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access.

Therefore, the correct option is B. Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access.

5 0
3 years ago
Claudia has a bachelor's degree in computer information systems, and she has learned to use some popular software testing tools.
Studentka2010 [4]
She should be a great software programmer!
3 0
4 years ago
Read 2 more answers
How many GPRs (General purpose registers) are in ATMEGA?
gogolik [260]

Answer:

There are 32 general-purpose 8-bit registers, RO-R31 All arithmetic and logic operations operate on those registers; only load and store instructions access RAM. A limited number of instructions operate on 16-bit register pairs.

8 0
3 years ago
Which elements are visible when a user opens a new PowerPoint presentation? Check all that apply.
ch4aika [34]

Answer:

- Title Text Placeholder

- Subtitle Text Placeholder

Explanation:

5 0
2 years ago
True / False: The Session File in Pro Tools saves actions that were created using the GUI (Graphic User Interface). The Session
Leokris [45]

Answer:

The correct answer to the following question will be "True".

Explanation:

A Pro Tools session is essentially a music file containing most the sound and Multimedia files, connector-ins, and settings of the plugin for all of your songs.

  • Also, Pro Tools session documents don't have sound data; rather, they only have the audio tracks connected to it.
  • You will need to configure a session to operate before you can do enough filming, cutting, or blending with Pro Tools.

4 0
3 years ago
Other questions:
  • After sending input in the Chinese language to an AI system, Nina got numerous translations in the English language. Which chall
    9·1 answer
  • Make a hierarchical directory structure under /root that consists of one directory containing three subdirectories.
    8·1 answer
  • Keep a log of the different types of communication activities in which you engage during the rest of the day. Categorize each ac
    14·1 answer
  • Does two core processors mean that it is twice as fast do you agree? why?
    13·1 answer
  • Narrow margins are helpful for which task?
    6·1 answer
  • Choose the statement that describes an advantage of paying a bill through the mail with a check.
    6·2 answers
  • ________ are chunks of software - installed on one's computer, tablet, or smartphone - that are gateways to games, online resour
    8·1 answer
  • When we type there Is blue like thing blinking what's that called ​
    8·2 answers
  • Which is the OS that can be obtained for free or at a much lower price than other major operating systems?
    15·2 answers
  • How to use 2 tabs at once on my Lenovo yoga book?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!