Software Programming : Java Programming QUESTIONS AND ANSWERS :: part5 : 11 to 15
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
11.In Java, declaring a class abstract is useful |
To prevent developers from further extending the class |
When it doesn't make sense to have objects of that class |
When default implementations of some methods are not desirable |
To force developers to extend the class not to use its capabilities |
When it makes sense to have objects of that class. |
12.Given a class named student, which of the following is a valid constructor declaration for the class? |
Student (student s) { } |
Student student ( ) { } |
Private final student ( ) { } |
Void student ( ) { } |
Static void student(){ }. |
13.The concept of multiple inheritance is implemented in Java by I. Extending two or more classes. II. Extending one class and implementing one or more interfaces. III. Implementing two or more interfaces. |
Only (II) |
(I) and (II) |
(II) and (III) |
Only (I) |
Only (III). |
14.Object oriented inheritance models the |
"is a kind of" relationship |
"has a" relationship |
"want to be" relationship |
inheritance does not describe any kind of relationship between classes |
“contains” of relationship. |
More Java Programming QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET