Answer Posted / sudhir
when there is a situation for user input and user not give
according to code there try and catch use.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are static members inherited to sub classes?
What is an argument in java?
Can a static member function access member variable of an object?
What is java and why do we need it? Explain
What is role of void keyword in declaring functions?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is local declaration?
What are the differences between include directive and include action?
How do you declare a string variable?
What are the 6 boolean operators?
What is pangram in java?
What is the abstract class?
Can Exception handling we can handle multiple catch blocks?
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?
What is class forname used for?