What is Marker interface in java? and what is clone?
Answer Posted / ravikiran
Marker interface contains no methods.
| Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
Can we use synchronized block for primitives?
What do you mean by data type?
What is the difference between numeric and integer?
What things should be kept in mind while creating your own exceptions in java?
What is the use of default method in interface in java?
How many functional interfaces does java 8 have?
What is object-oriented programming?
What is scope & storage allocation of global and extern variables? Explain with an example
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is public/private protected in java?
When do we use synchronized blocks and advantages of using synchronized blocks?
What does indexof mean?
What are the different types of sorting in java?
what is daemon thread and which method is used to create the daemon thread? : Java thread
Why do we need singleton?