O'Reilly logo

Beginning JavaFX™ by Praveen Mohan, Lawrence PremKumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Class Definitions

JavaFX Script is an object-oriented programming (OOP) language. Because it is built on the Java platform, JavaFX Script inherits almost all the features of Java, including those that support object orientation. We will start this chapter by examining some basic concepts of OOP, and later you will learn how to implement your own class in JavaFX Script.

Object-oriented programming languages were developed to correct some of the flaws programmers found with procedural languages; for example, typically they are not very flexible. In OOP data is treated as a critical element and not allowed to flow unrestrictedly. OOP binds data closely to the functions that operate on it and protects it from accidental modification by outside ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required