From the course: Java 11+ Essential Training
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Principles and components of Java - Java Tutorial
From the course: Java 11+ Essential Training
Principles and components of Java
- [Instructor] From the beginning, Java has followed some clearly stated principles. First of all, its goal is to be a simple object oriented and familiar language. Its simplicity lies greatly in its consistency. Once you learn how to do one thing in Java, you can do it the same way everywhere, because it never deviates from its architecture. It's an object oriented language, so once you understand the principles of encapsulation, inheritance, polymorphism, and abstraction and how those are implemented in Java, you'll have a much better sense of how to build your applications. And for developers who've worked with C style languages, such as C, C++, C#, and JavaScript, the syntax of Java is very familiar. Java was created to be robust and secure. Its robustness lies greatly in its object oriented architecture, because you're designing everything as an object. Everything has methods or functions, and fields that store…