Answer Posted / neeraj agrawal
nested class are those class with in another class
whose defined in static modifier while inner class are those class with in another class is called inner class.
ya we can say static class are nested class while inner class are non static class.
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
Can we change the scope of the overridden method in the subclass?
What is the disadvantage of java?
In the below example, what will be the output?
what is the significance of listiterator in java?
How to optimize the javac output?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
Can an object be null?
What is the purpose of the System class?
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
Which method cannot be overridden in java?
What is java used for?
What are identifiers in java?
What does replaceall do in java?
Can we store variables in local blocks?
How many types of operators are there?