Java MCQ - English
Which of these statements are incorrect?
Home | Discussion ForumWhich 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
Answer : D
View More Related Question
1) Modulus operator, %, can be applied to which of these?
Integers
Floating – point numbers
Both Integers and floating – point numbers.
None of the mentioned
View Answer
2) What will be the output of the above fraction of code ?int ++a = 100 ;
System.out.println( ++a ) ;
100
Displays error as ++a is not enclosed in double quotes in println statement
Compiler displays error as ++a is not a valid identifier
None of these
View Answer
3) When a=9, b=12 and c=3 what will be the value of x for the expression x=9-12/3+3*2-1
4) Which of these can be returned by the operator & ?
5) If int x=15; y=20; what will be the value of x after executing the following statement x=(x