McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
(1 | 4) + (4 & 2) = ?(in base ten)
Q.
(1 | 4) + (4 & 2) = ?(in base ten)
A.
1.
B.
5.
C.
2.
D.
8.
Answer» B. 5.
2k
0
Do you find this helpful?
19
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
Given the following code:~~~class Base { int x = 10; }~~~class Derived extends Base~~~{ int x = 20; }~~~Base b = new Base();~~~Derived d = new Derived ( );~~~Base bd = new Derived(); The statement~~~System.out.println(b.x + " " + d.x + " " + bd.x);~~~will produce the output
Which of these keywords is used to refer to member of base class from a sub class?