Answer Posted / satish kumar
Uer define exception is Derived from
System.ApplicationException class.In User defined Exception
User raised the exception in his class and throw the erroe
thoew the object of the class
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Write a code to show a static variable?
Why is core java important?
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
Is multiple inheritance supported by java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Explain list interface?
Compare Mutex and Semaphore in java.
Difference between nested and inner classes ?
What is the use of predicate in java 8?
Which class is the superclass for every class in java programming?
How to obtain a performance profile of java program
What is ternary operator in java?
Why hashcode is used in java?
Write a program to check string is palindrome without using loop?
What are different types of references?