Top Core Java Interview Question and Answer 9
431 views · Published 14 October 2012 · 1:04 · Indexed 22 September 2026
Channel: Interview DOT · 2012 · Science & Technology
Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. JOB VACANCIES IN TOP IT / NOT-IT COMPANIES UPLOAD YOUR RESUME IN 1 MINUTE ! ! ! http://www.interviewdot.com/upload-resume/uploadresume.htm http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com Welcome to www.InterviewDot.com How to for java prepare for Interview Questions : Top Java Interview Questions and Answers. 61. What value does read() return when it has reached the end of a file? The read() method returns -1 when it has reached the end of a file. 62. Can a Byte object be cast to a double value? No, an object cannot be cast to a primitive value. 63. What is the difference between a static and a non-static inner class? A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances. 64. What is an object's lock and which object's have locks? An object's lock is a mechanism that is used by multiple threads to obtain synchronized access to the object. A thread may execute a synchronized method of an object only after it has acquired the object's lock. All objects and classes have locks. A class's lock is acquired on the class's Class object. 65. What is the % operator? It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand. For more Interview questions and answers - logon to www.InterviewDot.com - India's Top Interview Guide. http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
More from this channel
-
2:42
what are different access modifiers core java interview questions and answers
-
1:41
What happens if a java thread throws nullpointer exception interview
-
2:36
how many objects are created in java string str = new Stringabc java interview
-
1:55
What is multithreading wait notify java interview question interviewdot
-
4:04
Java Interview Question and Answer Does Java Supports Multiple Inheritance
-
1:43
Java Interview Question And Answer Eight Primitive Types in Java What Java Interview
-
3:37
Java Interview Question And Answer Different Thread States True or False Interview Question
-
2:13
Java Interview Question And Answer What would you use to compare == And equals Java Interview Quest