Answer Posted / shweta
No, an object cannot be cast to a primitive value.
Is This Answer Correct ? | 19 Yes | 9 No |
Post New Answer View All Answers
How we can run a jar file through command prompt in java?
What about main thread in java?
What is the preferred size of a component in java programming?
Difference between process and thread?
What are untrusted applets?
When do you get classcastexception?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What is finalize method?
Convert a BST into a DLL and DLL to BST in place.
What does isempty () do in java?
What do you mean by chromounits in java8?
What is hash code collision?
What is bool mean?
Can we declare an array without size in java?
Which package is used for pattern matching with regular expressions?