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
Bess [88]
3 years ago
7

In Java a final class must be sub-classed before it. ?? True ?? False

Computers and Technology
1 answer:
Soloha48 [4]3 years ago
6 0

Answer: False

Explanation: In java, whenever a final class is declared it cannot be extended further and also it is not possible for a declared class to be overridden in the sub class. A class can be declared final by using the final keyword. Final class cannot be extended but they can be used to extend the other classes.Therefore the final class cannot be sub classed before it in java.

You might be interested in
Released in 1976, the Apple I was Apple Computer's first product.<br><br> O True<br> O False
Anna35 [415]
False,
The apple was not a computer
6 0
3 years ago
What type of devices are the key board and the mouse?
Lubov Fominskaja [6]
Output device - keyboard
Input device- mouse
8 0
4 years ago
Write a C++ program to find K largest elements in a given array of integers. For eeample, if K is 3, then your program should ou
Anon25 [30]

Answer:

// C++ program to find k largest elements in the array

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// variable

int n,k;

cout<<"Enter the number of elements of array:";

// read the value of n

cin>>n;

// declare the array of size n

int arr[n];

cout<<"Enter the elements of array:";

// read the elements of array

for(int a=0;a<n;a++)

{

   cin>>arr[a];

}

cout<<"Enter the value of K:";

cin>>k;

// call the function to perform selection Sort

sort(arr, arr+n);

cout << k<<" largest elements of the array are: ";

// print k largest elements of the array

for (int i=n-1; i>n-k-1; i--)

cout << arr[i] << " ";

return 0;

}

Explanation:

Read the number of elements in the array.Then create an array of size "n" and read  n elements of the array.Sort the array in ascending array.Then Read the value of  k from user.Find the k Elements from the end of the array.This will be the k  largest elements of the array.

Output:

Enter the number of elements of array:8                                                                                    

Enter the elements of array:34 8 75 99 12 7 5 55                                                                          

Enter the value of K:3                                                                                                    

3 largest elements of the array are: 99 75 55

4 0
3 years ago
An organization's contact information includes its _____.
lianna [129]
I would say that it probably includes all of these, but if that's not an option, then it's: email address 
3 0
3 years ago
Read 2 more answers
Brad leaves an iPod at Computer Sales &amp; Repair (CSR) to have the battery replaced. CSR sells the iPod to Doris, who does not
katrin2010 [14]
I think the answer is d. I could be wrong.
6 0
4 years ago
Other questions:
  • Chris has just graduated from high school. He hopes to complete a carpenter's apprenticeship and eventually open his own busines
    9·2 answers
  • Dead state is the name of the time delay in a cpu caused by differences between the speed of the cpu and ram.
    15·1 answer
  • Does virtualization impact the design of programs on behalf of the process/threading model?
    12·1 answer
  • Suppose a classmate constructed an electric motor with a solid commutator.that is, the commutator has no split. This solid commu
    9·1 answer
  • Barat explains that if you have a cell that is the sales price of a given product, the value of which will change to produce the
    9·1 answer
  • Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new vi
    13·1 answer
  • What are folders within folders called​
    8·2 answers
  • Helppppppppppppppppppppppppppppppppp
    13·2 answers
  • What would a world where we have 2^128 (340 undecillion) Internet connected devices look like? How could that much Internet usag
    7·1 answer
  • when you arrived at the unit today and listened to the change of shift report, you heard about a patient named jane w. according
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!