What are the Logical operators?
Ans: OR(|), AND(&), XOR(^) AND NOT(~).
What is the % operator?
Ans : % operator is the modulo operator or reminder operator. It returns the reminder of dividing the first operand by second operand.
What is the value of 111 % 13?
a)3 b)5 c)7 d)9 Ans:c.
Is &&= a valid operator?
Ans : No.
Can a double value be cast to a byte?
Ans : Yes.
Can a byte object be cast to a double value ?
Ans : No. An object cannot be cast to a primitive value.
What are order of precedence and associativity?
Ans : Order of precedence the order in which operators are evaluated in expressions. Associativity determines whether an expression is evaluated left-right or right-left.
Which Java operator is right associativity?
Ans : = operator.
What is the difference between prefix and postfix of -- and ++ operators?
Ans : The prefix form returns the increment or decrement operation and returns the value of the increment or decrement operation. The postfix form returns the current value of all of the expression and then performs the increment or decrement operation on that value.
SOFTWARE COMPANIES
RESUME PREPRATION
INTERVIEW TIPS
C QUESTIONS
chapter 1
chapter 2
chapter 3
chapter 4
chapter 5
chapter 6
chapter 7
chapter 8
chapter 9
chapter 10
View All
DATA STRUCTURE
TECHNICAL QUESTIONS
JAVA
First chapter
Second chapter
Third chapter
Fourth chapter
Fifth chapter
Sixth chapter
Seventh chapter
Eight chapter
ninth chapter
Tenth chapter
eleventh chapter
Twevelth chapter
View All
FILE EXTENSION