Composition and Inheritance

Objects and Java by Bill VennersChapter 6:Composition and Inheritance Modeling the relationships between types is a fundamental part of the process of object-oriented design. This chapter shows you how to model relationships using composition and inheritance. It describes many facets of inheritance in Java, including abstract classes and final classes. [bv:need better intro] Composition As … Read more Composition and Inheritance

Understanding Association, Aggregation, and Composition

In this article we will try to understand 3 important concepts association, aggregation and composition. Download source code – 14.1 KB Table of contents Introduction Extracting real world relationships from a requirement Requirement 1: The IS A relationship Requirement 2: The Using relationship: Association Requirement 3: The Using relationship with Parent: Aggregation Requirements 4 and … Read more Understanding Association, Aggregation, and Composition

HashMap values() Method in Java

The java.util.HashMap.values() method of HashMap class in Java is used to create a collection out of the values of the map. It basically returns a Collection view of the values in the HashMap. Syntax: Hash_Map.values() Parameters: The method does not accept any parameters. Return Value: The method is used to return a collection view containing all the … Read more HashMap values() Method in Java

Getting Started with Web Applications

A web application is a dynamic extension of a web or application server. There are two types of web applications: Presentation-oriented: A presentation-oriented web application generates interactive web pages containing various types of markup language (HTML, XML, and so on) and dynamic content in response to requests. Chapters Chapter 4, Java Servlet Technology through Chapter 15, Internationalizing and Localizing Web … Read more Getting Started with Web Applications

How to Install Apache Tomcat 9 (on Windows, Mac OS X, Ubuntu) and Get Started with Java Servlet Programming

How to Install Apache Tomcat 9 (on Windows, macOS, Ubuntu) and Get Started with Java Servlet Programming 1.  Introduction 1.1  Web Application (Webapp) 1.2  Hypertext Transfer Protocol (HTTP) 1.3  Apache Tomcat HTTP Server 2.  How to Install Tomcat and Get Started with Java Servlet Programming 2.1  STEP 0: Create a Directory to Keep all your Works 2.2  STEP 1: Download and Install … Read more How to Install Apache Tomcat 9 (on Windows, Mac OS X, Ubuntu) and Get Started with Java Servlet Programming

HTML

HTML Full list of HTML elements As a reminder, in most browsers you can right-click on a page and select View Source to see the HTML code used to render the page. Basic HTML Tag Description Example <html> All content of your webpage must go inside <html></html> tags. <head> Contains information about the webpage. The title tag goes inside <head></head> tags. … Read more HTML

Show Buttons
Hide Buttons