
Software Programming : Java Programming QUESTIONS AND ANSWERS :: part14 : 11 to 15
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
11.We would like to make a member of a class visible in all subclasses regardless of what package they are in. Which one of the following keywords would achieve this? |
| Private or protected |
| Private |
| Protected |
| Public |
| Private or public. |
12.Which of the following statements is/are valid array declarations? I. int number(); II. float average[]; III. double[] marks; IV. counter int[]; V. []double marks; |
| Both (II) and (III) above |
| Only (I) above |
| Both (I) and (III) above |
| Only (IV) above |
| Only (V) above. |
13.What is the output of the following code? #216. What is the output of the following code? IdentifyMyParts a = new IdentifyMyParts(); IdentifyMyParts b = new IdentifyMyParts(); a.y = 5; b.y = 6; IdentifyMyParts.x = 1; b.x = 2; System.out.println("a.y = " + a.y); System.out.println("b.y = " + b.y); System.out.println("IdentifyMyParts.x = " + a.x); System.out.println("b.x = " + b.x); |
| a.y = 5 |
| 6 |
| 2 |
| 2 |
| a.y = 5 |
14.What is the bit size of int in java? |
| 8 |
| 16 |
| 32 |
| 64 |
| 128. |
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
