Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

yogesh doshi

Ranch Hand
+ Follow
since Apr 05, 2016
yogesh likes ...
Java Ubuntu
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by yogesh doshi

Liutauras Vilda wrote:Please always quote the source where the question comes from.

Also, please tell us the answer/-es you think are correct ones.




I have already mentioned n the question i was thinking correct answer as == & equal
Why == will not be printed can anyone help me with this question??Does += return String object or String from pool??

I am facing this issue on Java version 1.8.0_101
Why below cod is invalid??

Henry Wong wrote:Well, if the code is executing a return from method -- meaning it is done with the method -- why would it continue to run the next lines of the method?


Thanks Henry ..I was in wrong perception that return will return from switch block....Thanks for clearing my doubt
Why below code is not allowed

I got following question on Kalpan Self Test for 1Z0-803 Can anyone help me out for the same??


Which of the following statements are true I ticked wrong answer and correct answer was following please look into image for more detais

Reference type casting :the target type must be object type or a valid supertype

Thanks in advance.
Why printing value of b2 give value as 64 how??


Answer is three@henry

yogesh doshi wrote:What will be the output of the same

What will be the output of the same

Why below code is valid it even do not throw any runtime exception??