Which of these statements are incorrect?
The left shift operator, <<, shifts all of the bits in a value to the left specified number of times
The right shift operator, >>, shifts all of the bits in a value to the right specified number of time
The left shift operator can be used as an alternative to multiplying by 2
The right shift operator automatically fills the higher order bits with 0
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Which of the following can be operands of arithmetic operators?
Solution |
2
Discuss
|
What will be the output of the following Java code?
Solution |
3
Discuss
|
What will be the output of the following Java code?
Solution |
4
Discuss
|
What will be the output of the following Java code?
Solution |
5
Discuss
|
What will be the output of the following Java program?
Solution |
6
Discuss
|
Which operator is used to invert all the digits in a binary representation of a number?
Solution |
7
Discuss
|
What is the output of relational operators?
Solution |
8
Discuss
|
What will be the output of the following Java code?
Solution |
9
Discuss
|
Which of these is returned by “greater than”, “less than” and “equal to” operators?
Solution |
10
Discuss
|
What will be the output of the following Java program?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved