
Software Programming : Java Programming QUESTIONS AND ANSWERS :: part1 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.Multiple inheritance means, |
one class inheriting from more super classes |
more classes inheriting from one super class |
more classes inheriting from more super classes |
None of the above |
(opt1) and (opt2) above. |
7.What is the output of the following program: public class testmeth { static int i = 1; public static void main(String args[]) { System.out.println(i+” , “); m(i); System.out.println(i); } public void m(int i) { i += 2; } } |
1 , 3 |
3 , 1 |
1 , 1 |
1 , 0 |
none of the above. |
8.Which of the following is true? |
A finally block is executed before the catch block but after the try block. |
A finally block is executed, only after the catch block is executed. |
A finally block is executed whether an exception is thrown or not. |
A finally block is executed, only if an exception occurs. |
None of the above |
9.The fields in an interface are implicitly specified as, |
static only |
protected |
private |
both static and final |
none of the above. |
10.Which one of the following is not true? |
A class containing abstract methods is called an abstract class. |
Abstract methods should be implemented in the derived class. |
An abstract class cannot have non-abstract methods. |
A class must be qualified as ‘abstract’ class, if it contains one abstract method. |
None of the above. |
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
