Software Programming : Java Programming QUESTIONS AND ANSWERS :: part16 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.Which of the following stream is/are used to handle primitive data types? |
BufferedOutputStream |
DataInputStream |
FileOutputStream |
FileInputStream |
All the above. |
7.Which of the following package is automatically imported to your program file? |
java.util |
java.io |
java.net |
java.lang |
java.math. |
8.Which of the following is true for method overriding? #246. Which of the following is true for method overriding? |
A method in the subclass that has the same name, same arguments and same return type as a method in the super class is orverridden |
An overridden method advocates for inheritance in OOP |
It is not possible to access the method which is overridden in a subclass |
Overridden method in java is called virtual function |
Overloading method in java is called virtual function. |
9.Which of the following is not a valid Java identifier? |
my Value |
$_AAA1 |
width |
m_x |
my_value. |
10.Which of the following is not true for a java thread? |
The run method calls start method |
The start method calls run method |
Runnable interface contains only run method |
The run method is overridden to contain the functionality of the application |
Once we use the stop() method on a thread, we cannot use the start() method. |
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