Build a Guessing Game Application using Java

4.3
estrelas
9 classificações
oferecido por
Coursera Project Network
Neste projeto guiado, você irá:

Use the Java Scanner class to input data from the user and store it in a variable.

Employ a Java decision construct to compare a guess with a random number.

Use a while loop to allow for more than one guess.

Clock1 hour
IntermediateIntermediário
CloudSem necessidade de download
VideoVídeo em tela dividida
Comment DotsInglês
LaptopApenas em desktop

In this project you will create a guessing game application that pits the computer against the user. You will create variables, static methods, decision constructs, and loops in Java to create the game. Learning Java gives the programmer a wide variety of career paths to choose from. Java was once the property of Sun Microsystems but is now an open-source (free) programming language that is used in web programming, mobile applications, and many desktop applications. Java is a natural choice for object-oriented programming as it contains many existing classes for the programmer to use from its feature-rich API. In addition, Java is truly cross-platform, which means it can be compiled on a Windows system and executed on a Mac or Linux system. Java contains a built-in garbage collector that removes objects no longer needed in the application which reduces memory leak issues. 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 você desenvolverá

RecursionObject-Oriented Programming (OOP)JavaClass CreationClass Methods

Aprender passo a passo

Em um vídeo reproduzido em uma tela dividida com a área de trabalho, seu instrutor o orientará sobre esses passos:

  1. Research Java online using a browser and discuss the ways in which Java is used.

  2. Use the Java Scanner class to input data from the user and store it in a variable.

  3. Employ a Java decision construct to compare a guess with a random number.

  4. Use a while loop to allow for more than one guess.

  5. Create a Java static method to have the computer guess the random number.

Como funcionam os projetos guiados

Sua área de trabalho é um espaço em nuvem, acessado diretamente do navegador, sem necessidade de nenhum download

Em um vídeo de tela dividida, seu instrutor te orientará passo a passo

Perguntas Frequentes – FAQ

Perguntas Frequentes – FAQ

Mais dúvidas? Visite o Central de Ajuda ao Aprendiz.