O'Reilly logo

Android™ How to Program, Third Edition by Harvey M. Deitel, Paul Deitel

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

B. Introduction to Classes, Objects, Methods and Strings

Objectives

In this appendix you’ll learn:

Image How to declare a class and use it to create an object.

Image How to implement a class’s behaviors as methods.

Image How to implement a class’s attributes as instance variables and properties.

Image How to call an object’s methods to make them perform their tasks.

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