Java Classes and Objects

4.7
estrellas
21 calificaciones
ofrecido por
Coursera Project Network
2,118 ya inscrito
En este proyecto guiado, tú:

Define instance variables and create a Class variable using static.

Use Encapsulation by providing private instance variables and public getters and setters.

Define Constructors with various parameters and create object instances.

Clock2 hours
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In Object-Oriented Programming in a language such as Java, Classes and Objects are often used interchangeably but there is a distinction between the two. A class is a blueprint for objects. In this project you will create an application that defines a Car class and create one to many Car objects. A Car class contains the common attributes all cars have; color, make and model. When a Car Object is made from the Car class, it is then assigned a specific color, such as a red Nissan Sentra or a blue Toyota Camry. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

Class DesignEncapsulationObject-Oriented Programming (OOP)JavaInformation Hiding

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Create the Java Class, identify attributes, and instantiate a Car object.

  2. Define instance variables and create a Class variable using static.

  3. Use Encapsulation by providing private instance variables and public getters and setters

  4. Define Constructors with various parameters and create object instances of the Class.

  5. Override a default method to create a String representation of the Object.

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.