Which of these statements are incorrect?
Assignment operators are more efficiently implemented by Java run-time system than their equivalent long forms
Assignment operators run faster than their equivalent long forms
Assignment operators can be used only with numeric and character data type
None of the mentioned
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Modulus operator, %, can be applied to which of these?
Solution |
2
Discuss
|
Which of these is not a bitwise operator?
Solution |
3
Discuss
|
What is the order of precedence (highest to lowest) of following operators? 1. & 2. ^ 3. ?:
Solution |
4
Discuss
|
What will be the output of the following Java program?
Solution |
5
Discuss
|
Which of these operators can skip evaluating right hand operand?
Solution |
6
Discuss
|
What will be the output of the following Java program?
Solution |
7
Discuss
|
Which of the following operators can operate on a boolean variable? 1. && 2. == 3. ?: 4. +=
Solution |
8
Discuss
|
What will be the output of the following Java program?
Solution |
9
Discuss
|
Which of these lines of Java code will give better performance? 1. a | 4 + c >> b & 7; 2. (a | ((( 4 * c ) >> b ) & 7 ))
Solution |
10
Discuss
|
What will be the output of the following Java code?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved