In java declaring a class abstract is useful


Asked by admin @ in Computer Science viewed by 374 People


In Java, declaring a class abstract is useful

A.To prevent developers from further extending the class.
B.When it doesn't make sense to have objects of that class.
C.When default implementations of some methods are not desirable.
D.To force developers to extend the class not to use its capabilities.

Answered by admin @



In Java declaring a class abstract is useful to prevent developers from further extending the class

Similar Questions

Using java we can develop

Asked by admin @ in Computer Science viewed by 327 persons

Observe the below statements. i. Using java we can develop a Web Application ii. Using java we can develop a Desktop Application Which of the following statements is/are true? Both …

What are the uses of rocks class 7

Asked by admin @ in Geography viewed by 285 persons

What are the uses of rocks ncert class 7th geography?

Which of the following package stores standard java classes

Asked by admin @ in Computer Science viewed by 293 persons

54. Which of the following package stores all the standard java classes? (A) lang(B) Java(C) util(D) java. packagesloss from its implement​

Design a class to represent a bank account in java

Asked by admin @ in Computer Science viewed by 251 persons

Design a class in java to represent a bank account. include the following members: data members: name account number type balance amount Methods: to assign initial values to deposit an …

Which of these classes is not included in java lang

Asked by admin @ in English viewed by 267 persons

4 Which of these classes is not included in java.lang?(A) Byte(B) Integer​

Water should never be used on which class of fire

Asked by admin @ in SAT viewed by 374 persons

Water and water-based solutions should never be used to extinguish a Class _______ fire.

Water is used to extinguish which class of fire

Asked by admin @ in Chemistry viewed by 273 persons

Water is used to extinguish all types of fire. ( true/ false) ​

What is the use of new keyword in java

Asked by admin @ in Computer Science viewed by 317 persons

Explain the purpose of using a new keyword in a Java programming ​

Which extension is used to save the java program

Asked by admin @ in Computer Science viewed by 293 persons

Which extension is used to save the Java program?????​

Why is mercury used in thermometer for class 7

Asked by admin @ in Science viewed by 298 persons

7th class/science/chapter (Heat Measurement) why do we use mercury in the thermometer? can water be used instead of mercury? what are the problems in using it?

Which keyword is used to declare variable in javascript

Asked by admin @ in Computer Science viewed by 387 persons

The keyword used to declare a variable in JavaScript

Possible advantages and disadvantages of using educational apps in class

Asked by admin @ in English viewed by 284 persons

Consider the advantages and disadvantages of online education and education in a traditional classroom setting. Which method of learning is better for students? Write an essay in which you try …

Name two chemicals used to disinfect water class 7

Asked by admin @ in Environmental Sciences viewed by 417 persons

Name two chemicals used to disinfect water. NCERT Solutions for Class 7th Science Chapter 18 Wastewater Story Page 228 Exercise Question 7

C++ program to perform arithmetic operations using objects and classes

Asked by admin @ in General viewed by 420 persons

How do you write a C++ program to find the arithmetic operations on complex numbers using operator overloading using the C++ language?

C++ program to add two complex numbers using class

Asked by admin @ in Computer Science viewed by 409 persons

Write a c++ program to perform addition of two complex numbers using classes​

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 19024 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 15811 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 10973 persons



Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 10403 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 8722 persons


Which of the following occupies more memory in c

Asked by admin @ in Computer Science viewed by 8136 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 7842 persons


The network architecture can be termed as a mcq

Asked by admin @ in Computer Science viewed by 6488 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 5790 persons



Class 7 computer chapter 3 questions and answers

Asked by admin @ in Computer Science viewed by 5693 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 5476 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4981 persons



Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4971 persons


Which of the dbms package is not available

Asked by admin @ in Computer Science viewed by 4684 persons


________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 4488 persons