From the course: Java 8 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Principles and components of Java

Principles and components of Java - Java Tutorial

From the course: Java 8 Essential Training

Start my 1-month free trial

Principles and components of Java

- From the beginning, Java has followed some clearly stated principles. First of all, it's a simple, object-oriented and familiar language. It's simplicity lies greatly in its consistency. Once you learn how to do one thing in Java, you know how to do it the same throughout the language because it never deviates from the way the language is architected. It's an object-oriented language so once you understand the principles of encapsulation, inheritance and polymorphism and how those are implemented in Java, you'll have a much better sense of how to architect your applications. For developers who've worked with C-style languages like C and C++, the syntax of Java is very familiar. Java was created to be robust and secure. It's robustness lies greatly in its object-oriented characteristics. Because you're designing everything as an object, everything has methods or functions and properties also known as fields that are members of classes. This lets you create your code in small chunks…

Contents