Hot to use javadoc to document a package
The javadoc tool lets you generate HTML-based documentation like the documentation for Java API. A javadoc comment starts with […]
Read More →The javadoc tool lets you generate HTML-based documentation like the documentation for Java API. A javadoc comment starts with […]
Read More →com.qbw.* myDirStructure myDirApp.java qbw businessLogic Product.java LineItem.java dataAccessLayer ProductDB.java presentation Validator.java The packages would be: com.qbw com.qbw.businessLogic com.qbw.dataAccessLayer com.qbw.presentation
Read More →The syntax for declaring an interface public interface InterfaceName { type CONSTANT_NAME = value; // declares a const field […]
Read More →An abstract class is a class that can't be instantiated. You can not create an object directly from an […]
Read More →The final key word can be used on the following: classes methods parameters You can use the keyword whenever […]
Read More →To test if two objects point to the same space in memory, you can use the equals mthod of […]
Read More →The syntax for creating subclasses: Description Syntax To declare a subclass public class SubclassName extends SuperClassName{} To call a […]
Read More →Keyword Description private Available within the curent class. public Available to classes in all packages. protected Available to classes […]
Read More →Methods of the Object class: Method Description toString() Returns a string object containing the class name, followed by the […]
Read More →try { statements } catch (ExceptionClass exceptionName) { statements } final { statements }
Read More →