Chapter 09 - packages
---------------------
packages
packages and member access
importing packages
> What is a package?
Design and develop a program to demonstrate the usage of package.
> List the 4 categories of visibility of class members.
Design and develop programs to demonstrate the visibility of class members.
> What is meant by private, protected and public in Java.
Illustrate the access modifiers in Java, with the help of a table.
Explain
> What is meant by importing packages.
Develop a program to illustrate importing packages.
Chapter 10 - Exceptions
-------------------------------
Exceptions - handling fundamentals
exceptions types
uncaught exceptions
using try and catch
multiple catch caluses
nested try statements
throw
throws
finally
javas built in exceptions
creating your own exceptions subclasses
chained exceptions
> What is an user defined exception?
Design and develop a program to demonstrate user defined exception.
> Write the general form of an exception handler block.
Design and develop a program to demonstrate multiple catch blocks.
> List the keywords used in exception handling.
Design and develop a program to demonstrate super sub catch.
> What is an exception?
Design and develop a program to demonstrate nested try block.
> Write a program to handle ArithmeticException and ArrayOutOfBoundsException.
> Differentiate between checked and unchecked exceptions.
> What is the difference between exception and error.
List examples of exceptions and errors in Java API.
> What is user defined exception.
Design and develop a program to demonstrate user defined exception.