100 Multiple Choice Questions on Java Programming - Set 1

Home » Java » MCQs
Showing 1 - 20 of 100


Question: 1

(A) True
(B) False


Level: Beginner
Category of MCQ: methods in Java

Question: 2

(A) True
(B) False


Level: Beginner
Category of MCQ: variables in Java

Question: 3

(A) Windows
(B) Mac OS
(C) UNIX
(D) All of these


Level: Beginner
Category of MCQ: other in Java

Question: 4

(A) Local variables are declared in methods, constructors, or blocks
(B) Local variables are created when the method, constructor or block is entered
(C) the variable will be destroyed once it exits the method, constructor, or block
(D) We can't create reference variables of Local variables


Level: Beginner
Category of MCQ: variables in Java

Question: 5

(A) >=
(B) <=
(C) !=
(D) +=


Level: Beginner
Category of MCQ: operators in Java

Question: 6

(A) ()
(B) *
(C) +
(D) ++


Level: Beginner
Category of MCQ: operators in Java

Question: 7

(A) ()
(B) ++
(C) *
(D) >=


Level: Beginner
Category of MCQ: operators in Java

Question: 8

(A) Left Shift Operator
(B) Right Shift Operator
(C) Zero Fill Right Shift
(D) Zero Fill Left Shift


Level: Expert
Category of MCQ: operators in Java

Question: 9

(A) |
(B) ^
(C) ~
(D) <->


Level: Beginner
Category of MCQ: operators in Java

Question: 10

(A) -
(B) +
(C) *


Level: Beginner
Category of MCQ: operators in Java

Browse Java Categories

Datatype Variables Operators Decision Making Loops Methods Reference Variables Arrays Classes and Objects Abstract Class Singleton Class Modifiers Inheritance Overriding Polymorphism Abstraction Encapsulation Files and I/O TypeCasting Packages Exceptions Collections Framework Numbers Class Date & Time Regular Expressions Data Structures Interfaces Multithreading Other


MCQs

About Us | Contact Us | Privacy Policy | Career  | Online Training
Youtube   LinkedIn   Facebook   Twitter   Instagram  
Copyright©CppBuzz.com
Like many websites, we use cookies to ensure best browsing experience on our website. While using this website, you acknowledge to have read and accepted our cookie and privacy policy.