Java
...utomatically. Overloading-Java allows more than one method with the same name but with different behaviors, depending on the type or number of its arguments. Inheritance-is the process by which a new class is built on top of a previously written class without the existing class’s functionality needing to be rewritten. The extends keyword is used to indicate that one class inherits from another. The original class is usually referred to as the parent class or superclass. The new class is known as the child class or subclass. The new child class inherits the nonprivate instance variables and methods but not the constructors of the parent class. Abstract class-you might want to provide some common behavior in the class, but the class will not have enough information to be used by itself. In this case, java lets you declare a class abstract, and the compiler will not let you build an instance of the class. Interfaces-look like abstract classes where all of the methods are abstract. The big difference is that a class can directly implement multiple interfaces, whereas it can only directly extend a single class. A class that implements as interface must either provide definitions for all methods or declare itself abstract. Public modifier-indicates that the variable or method can be accessed by anyone who can access an instance of the class. You normally use this modifier for the functionality you are deliberately providing to the outside world. Private modifier-specifies that the variable or method can only be accessed by methods within the same class. This modifier is what you normally use for internal data and methods that are needed to implement your public interface but which users need not or should not access. Protected modifier-specifies that the variable or method can be accessed by methods within the class and within classes in the same package. It is inherited by subclasses. Variables and methods that are protected can cross package boundaries through inheritance. This modifier is what you use for data that is normally considered private but might be of interest to people extending your class. Basic Java Syntax Try/Catch/Finally Clause-in java, the error-handling system is based on exceptions, exceptions must be handed in try/catch block. When an exception occurs, process flow is immediately transferred to the catch block. A single try class can have more then one catch clause. If multiple catch clauses are used, order them from the most specific to the most general. After the final catch clause, an optional finally clause may be defined. The finally clause is always executed, even if the try or catch blocks are exited through a break, continue, or return. HTML Forms How HTML forms transmit Data (Get and Post)-HTML forms let you create a variety of user interface contr...