Write ONE application program (ONE MAIN METHOD) by using the following requirements:
File input and output (10 points)
Exception handling (10 points)
You can create your own exception classes or
You can use existing exception classes from Java API
Inheritance
At least one superclass or abstract superclass: this class needs to have data members, accessor, mutator, and toString methods (10 points)
(Answered)
What is the difference between java and c++?(Answered)
What is the difference between static and non-static variables?(Answered)
What is the difference between constructors and normal methods?(Answered)
What type of parameter passing does Java support?(Answered)
What if the main method is declared as private?(Answered)
What is the difference between error and an exception?(Answered)
How is final different from finally and finalize()?(Answered)
When is a method said to be overloaded and when is a method said to be overridden?(Answered)
What is the difference between a break statement and a continue statement?(Answered)
What is the purpose of finalization in java?(Answered)
What is the difference between an abstract class and an interface?(Answered)
What is the difference between method overriding and overloading?(Answered)
What modifiers are allowed for methods in an Interface?(Answered)
What is the difference between an if statement and a switch statement?(Answered)
What are wrapped classes?(Answered)
Describe life cycle of thread?(Answered)
What is the difference between a while statement and a do while statement?(Answered)
What is the importance of static variable?(Answered)
What is the base class of all classes?(Answered)
What is a Vector class?(Answered)
What is the List interface?(Answered)
Why do threads block on I/O?(Answered)
What is the difference between an interface and an abstract class?(Answered)
What are runtime exceptions?(Answered)
What is an instanceof operator?(Answered)
What is a user defined exception?(Answered)
What is the difference between an instance variable and a static variable?(Answered)
What are wrapper classes?(Answered)
What is the main difference between shallow cloning and deep cloning of objects?(Answered)
When do we use java serialization?(Answered)
What is the main difference between a String and a StringBuffer class?(Answered)
What is a list iterator?(Answered)
What is the Collections API?(Answered)
What must a class do to implement an interface?(Answered)
What is the Collection interface?(Answered)
What are class variables(Answered)
What is an abstract class?(Answered)
What are different types of access modifiers?(Answered)
What is variables and their types?(Answered)
What is the Java Virtual Machine (JVM)?(Answered)
What are pass by reference and passby value?(Answered)
What are the main features of java?(Answered)