Archive Pages Design$type=blogging

Solved MCQ of Java set-4

1. In Java variables, if first increment of the variable takes place and then the assignment occurs. This operation is also called ............

1. In Java variables, if first increment of the variable takes place and then the assignment occurs. This operation is also called ............................. .
A) pre increment
B) post increment
C) incrementation
D) pre incrementation

2. When the operators are having the same priority, they are evaluated from .................  ............. in the order they appear in the expression.
A) right to left
B) left to right
C) any of the order
D) depends on compiler

3. In java,  ............. can only test for equality, where as ............ can evaluate any type of the Boolean expression.
A) switch, if
B) if, switch
C) if, break
D) continue, if

4. The ....................... looks only for a match between the value of the expression and one of its case constants.
A) if
B) match
C) switch
D) None of the above

5. System.in.read() is being used, the program must specify the .................. clause.
A) throws.java.out.IOException
B) throws.java.in.IOException
C) throws.java.io.IOException
D) throws.java.io.InException

6. By using ................... you can force immediate termination of a loop, by passing the conditional expression and any remaining code in the body of the loop.
A) Break
B) Continue
C) Terminate
D) Loop Close

7. The out object is an object encapsulated inside the ................. class, and represents the standard output device.
A) standard
B) local
C) globlal
D) system

8. The third type of comment is used by a tool called .................. for automatic generation of documentation.
A) Java commenting
B) Java generator
C) Java doc
D) Java loc

9. In the second type the information written in java after // is ignored by the .......................
A) Interpreter
B) Compiler
C) Programmer
D) All of the above

10. The compiled java program can run on any ..................... plateform having Java Virtual Machine (JVM) installed on it.
A) program
B) java
C) hardware
D) non java

Answers:

1.  A) pre increment
2.  B) left to right
3.  A) switch, if
4.  C) switch
5.  C) throws.java.io.IOException
6.  A) Break
7.  D) system
8.  C) Java doc
9.  B) Compiler
10.C) hardware

You Might also view the following Related Posts

تعليقات

الاسم

Artificial Intelligence(AI) Backlinking Basic IT Best List Blogging Tips C C# C++ Computer Architecture Computer Fundamental Computer Security Computer/IT Officer Exam CSS Data Mining and Warehousing Data Recovery Tools Data Structure Database Management System E-commerce E-government Internet & Web Designing IT Law IT Tips and Tricks IT Tutorials Java JavaScript Keyword Research Tools MIS Multiple Choice Question (MCQ) Networking Online Earning Online IT Jobs Operating System Oracle Forms and Reports Programming Guide Programming Language SEO Social Networking Sites Software Download Software Engineering System Analysis and Design Top List VB.Net
false
rtl
item
Max5: Solved MCQ of Java set-4
Solved MCQ of Java set-4
Max5
https://maxs27.blogspot.com/2013/06/solved-mcq-of-java-set-4.html
https://maxs27.blogspot.com/
http://maxs27.blogspot.com/
http://maxs27.blogspot.com/2013/06/solved-mcq-of-java-set-4.html
true
1760660989564394152
UTF-8
لم يتم العثور على اى مواضيع شاهد الكل اقرأ المزيد رد احذف الرد حذف بواسطة الرئيسية صفحات مواضيع شاهد الكل نوصى لك التسميات الارشيف بحث لم يتم العثور على ماتبحث عنه عودة للرئيسية الاحد الاثنين الثلاثاء الاربعاء الخميس الجمعة السبت الاحد الاثنين الثلاثاء الاربعاء الخميس الجمعة السبت يناير فبراير مارس ابريل مايو يونيو يوليو اغسطس سبتمبر اكتوبر نوفمبر ديسمبر يناير فبراير مارس ابريل مايو يونيو يوليو اغسطس سبتمبر اكتوبر نوفمبر ديسمبر just now 1 دقيقة مضت $$1$$ دقيقة مضت 1 hour ago $$1$$ ساعة مضت الامس $$1$$ يوم مضى $$1$$ اسبوع مضى اكثر من 5 اسابيع مضت