CBSE Class 12 Informatics Practices Concept Of Inheritance In Java

Read and download free pdf of CBSE Class 12 Informatics Practices Concept Of Inheritance In Java. Get printable school Assignments for Class 12 Informatics Practices. Standard 12 students should practise questions and answers given here for Informatics Practices in Grade 12 which will help them to strengthen their understanding of all important topics. Students should also download free pdf of Printable Worksheets for Class 12 Informatics Practices prepared as per the latest books and syllabus issued by NCERT, CBSE, KVS and do problems daily to score better marks in tests and examinations

Concept Of Inheritance In Java Class 12 Informatics Practices Assignment Pdf

Class 12 Informatics Practices students should refer to the following printable assignment in Pdf for Concept Of Inheritance In Java in standard 12. This test paper with questions and answers for Grade 12 Informatics Practices will be very useful for exams and help you to score good marks

Class 12 Informatics Practices Assignment for Concept Of Inheritance In Java

CBSE Class 12 Informatics Practices Concept Of Inheritance In Java. Based on CBSE and CCE guidelines. The students should read these basic concepts to gain perfection which will help him to get more marks in CBSE examination.

UNSOLVED QUESTIONS

1. What are the different types of access specifier supported by java?

2. Which is the default package of java?

3. What is friendly access of class member?

4. How does a class enforce information hiding?

5. Define an abstract class and abstract methods.

6. What is an interface? What is the use of Interface.

CONCEPT OF INHERITANCE IN JAVA

Solved Questions:

1. What is inheritance ?

Ans: Inheritance is a form of software reusability in which new classes are created from existing classes by absorbing their attributes and behaviours.

2. What is the primary purpose of inheritance ?

Ans: The primary purpose of inheritance is code reusability.

3. Name three basic concepts in Java which are used in Object oriented programming.

Ans:The three basic concepts are Classes , Objects and inheritance.

4. Which constructor is called first: subclass or superclass ?

Ans: A subclass constructor always calls the constructor for its superclass first explicitly or implicitly to create and initialize the subclass members.

5. What is abstract class?

Ans:An Abstract class is the one that simply represents a concept and whose objects can’t be created. It is created through the use of keyword abstract. The superclass set up as an abstract class does not allow objects of its prototype to be created. In this case only objects of the subclass are used.

6. What is method overriding in Java?

Ans:A method in a subclass hides or overshadows a method inherited from the superclass if both methods have same signature.(i.e. the same name, number and type of arguments and the same return type.) This property is known as Overriding the Inherited method.

7. What is an Interface in Java?

Ans: An Interface defines a protocol of behaviour or it is a collection of constants and abstract methods. These are not classes, but they can be used in the definition of a class.

8. What is the significance of abstract class in Java program?

Ans: When a class defines a method using the same namem return type, and arguments as a method in its superclass, the method in the class overrides the method in the superclass. When the method is invoked for an object of the class, it is the new definition of the method that is called, and not the method definition from superclass. Methods may be overridden to be more public, not more private.

9. What types of inheritance does Java have?

Ans: Java supports only these inheritance types:

i. Single inheritance ii. Multilevel inheritance iii. Hierarchical

10. State True and False

a. A subclass inherits both member variables and member methods of superclass.

b. A class created with keyword abstract can have at the most one object.

c. Overloading and Overriding are similar concepts in Java.

d. Java supports single inheritance only at multiple levels of inheritance.

e. Interfaces are used for multiple inheritance.


Please refer to attached file for CBSE Class 12 Informatics Practices Concept Of Inheritance In Java


Tags: 

 


Click to View or Download pdf file
Click for more Informatics Practices Study Material
CBSE Class 12 Informatics Practices Java Database Connectivity To MySQL Assignment
CBSE Class 12 Informatics Practices Revision Assignment Set C
CBSE Class 12 Informatics Practices Extensible Markup Language Assignment
CBSE Class 12 Informatics Practices Programming Fundamentals Assignment
CBSE Class 12 Informatics Practices Java GUI Programming Revision Tour Assignment
CBSE Class 12 Informatics Practices Revision Assignment Set D
CBSE Class 12 Informatics Practices Free And Open Source Software Assignment
CBSE Class 12 Informatics Practices Web Application Development Assignment
CBSE Class 12 Informatics Practices More About Classes And Libraries Assignment
CBSE Class 12 Informatics Practices GUI Dialogs And Tables Assignment
CBSE Class 12 Informatics Practices Worksheet All Chapters
CBSE Class 12 Informatics Practices More on SQL Grouping Records and Table Joins Assignment
CBSE Class 12 Informatics Practices HTML I Basic HTML Elements Assignment
CBSE Class 12 Informatics Practices Database Concepts Assignment
CBSE Class 12 Informatics Practices More RDBMS Assignment
CBSE Class 12 Informatics Practices HTML II Lists Tables and Forms Assignment
CBSE Class 12 Informatics Practices Revision Assignment Set A
CBSE Class 12 Informatics Practices Concept Of Inheritance In Java
CBSE Class 12 Informatics Practices MYSQL Revision Tour Assignment
CBSE Class 12 Informatics Practices IT Applications Assignment
CBSE Class 12 Informatics Practices Revision Assignment Set B
CBSE Class 12 Informatics Practices Database Transactions Assignment
CBSE Class 12 Informatics Practices Networking and open standards Assignment

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

CBSE OMR Sheet Guidelines for Term 1

You are aware that the CBSE will be using OMR for the first time for assessment of both the Classes-X and XII in Term-I examinations. Hence, there is a need that all the students appearing in the Term-l examinations and the schools sponsoring these students should have...

CBSE Class 10 Revised Syllabus

Last year CBSE had to reduce the syllabus because of the pandemic situation but it was not very effective because there were no examinations. This year to avoid any confusion and conflict, CBSE has decided to reduce the syllabus into term 1 and term 2. 50 percent of...

CBSE Reading Challenge

The acquisition of 21st century competencies of communication, critical and creative thinking and the ability to locate, understand and reflect on various kinds of information has become more crucial for our learners. It is well accepted that Reading Literacy is not...

×
Studies Today