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
Ghella [55]
3 years ago
15

Since nobody answered, I'm gonna just try this again. I really need help with this so please-

Computers and Technology
1 answer:
pantera1 [17]3 years ago
5 0

Answer:

3.8

Explanation:

You might be interested in
Instance data for a Java class Group of answer choices are limited to primitive types (e.g., int, float, char) are limited to St
Arisa [49]

Question

Instance data for a Java class

a. Are limited to primitive types (e.g., int, float, char)

b. Are limited to Strings

c. Ae limited to objects(e.g., Strings, classes defined by other programmers)

d. May be primitive types or objects, but objects must be defined to be private

e. May be primitive types or objects

Answer:

e. Instance data for a Java class may be primitive types or objects.

Explanation:

Instance data are defined as those entities that make up the class.

Instances may be of any available data type, whether it is primitive or it is an object.

Instances may also be public and they may be private.

By using objects as instance data, it permits the class to be built upon other classes. This relationship where a class has instance data that are other classes is known as a has a relationship.

8 0
4 years ago
Projects used for print and web have different ?
mr Goodwill [35]

Answer:

Sizes

Explanation:

6 0
4 years ago
Complete the given C program (prob1.cpp) to read an array of integers, print the array, and find the 2nd largest element in the
labwork [276]

Answer:

#include <stdio.h>

int getElement(int arr[], int size) {

   

   int largest2, largest = 0;

   for(int i=0; i<size; i++)

   {

       if(arr[i] > arr[largest])

       {

           largest = i;

       }

   }

   if(largest != 0)

       largest2 = 0;

   else

       largest2 = size - 1;

   for(int i=0; i<size && i != largest ;i++)

   {

       if(arr[i] > arr[largest2])

           largest2 = i;

   }

   

   return arr[largest2];

}

printArray(int arr[], int size) {

   

   printf("The array is: ");

   for(int i=0; i<size; i++)

   {

       printf("%d ", arr[i]);

   }

   printf("\n");

}

int main()

{

 

   int arr[5] = {30, 20, 5, 10, 24};

   printArray(arr, 5);

   printf("Second largest number is: %d", getElement(arr, 5));

   return 0;

}

Explanation:

Since you did not provide any code, I wrote it from the scratch. I also added the main function for you to check the result.

<em>printArray</em> function basically prints the element of the array

<em>getElement</em> function:

- Declare the two variables to hold the value for largest and second largest

- Inside the first loop, check if there is any number that is greater than largest, if yes, assign it to largest

- Inside the second for loop, check if there is any number that is greater than largest2, if yes, assign it to largest2 (Be aware that the largest we found in the first loop is excluded)

- Return the second largest

* Notice that we were able to apply this solution since the numbers are unique.

5 0
3 years ago
What does this mean?
finlep [7]

Answer:

This is a QR-Code

Explanation:

A QR code is a type of matrix barcode.

When you scan with a smartphone it should give/bring you to a link to give you access to a special link orphoto and ETC.

7 0
3 years ago
Read 2 more answers
PLEASE HELP ME ON THIS..............PLEASEEEEEEEEEEEE PLEASEEEEEE<br><br> ITTS EASYYYYYYYY
Natasha_Volkova [10]
Meetup is a really weird site. It's objective is to put people in groups according to their interests. It is certainly no place to go if you are job hunting.

Twitter seems to be a place where comments are made. Most would be personal. Donald Trump uses it to set policy. Most likely he is the first president to use that.

Facebook for those who have sent me things, is somewhat the same. I wouldn't trust it to find a job.

MySpace no longer exists. So it is not a place you'd put an ad for a job. I think myspace was used for photos. 

That only leaves the 4th one down. Submit that one.



 
3 0
3 years ago
Other questions:
  • We've managed to get restricted terminal access to a hackers home server which we believe has a secret File
    11·2 answers
  • Complete each sentence to describe different elements of an Excel worksheet.
    11·2 answers
  • All states that have altered judicial selection techniques in recent years have adopted some form of:
    5·1 answer
  • What is the definition of “potential energy”?
    6·1 answer
  • (Find the number of days in a month) Write a program that prompts the user to enter the month and year and displays the number o
    8·1 answer
  • Dwayne wants a variable called "name" to appear in the interpreter and does not want a space after it. Which of these should be
    11·1 answer
  • Write a program that gives simple math quizzes. The program should display two random numbers that are to be added, such as:
    14·2 answers
  • Differentiate between a software package and integrated software and why users would choose one over the other.
    11·1 answer
  • For python how do I ask the user how many numbers they want to enter and then at the ending add those numbers up together?
    10·1 answer
  • 1. The opportunity to create several equations for launching program files is called
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!