Giter VIP home page Giter VIP logo

stage0-module3-task1's Introduction

Tasks:

1) Fill the gaps.

Fill in the gaps to make an application write data to console: fill the gaps to print "Fixed" to console with a new line. Use code snippet provided here (each word should begin with a new line):

public class FillGapsApp {
    public static void main(String[] args) {
              .           ("Fixed");
    }
}
2) Print words.

Make console output like: "java" + \n "is" + \n +"smth". Create java program that will write to console: java is smth

For that use the following code snippet (each word should begin with a new line):

public class PrintWordsApp {
    public static void main(String[] args) {
        //write your code here
    }
}

3) Print sentence.

Create main method and make console output: "This is my first Java program". Create java program that will write to console: This is my first Java program

For that use the following code snippet (each word should begin with a new line):

public class PrintSentenceApp {
}

4) Broken app.

Given piece of code (not compiling one), fill everything that is missing for the program and compile and build it. Do that inside of a code snippet here (each word should begin with a new line):

public class BrokenApp {
    public main(String args) {
        System.out,println("fixMe)
    }
}

5) Update class.

Update this class to make an output: "I'm updated" + "\n" + "can be compiled. And can write to console"

The code to be updated is inside of a code snippet (each word should begin with a new line):

public class UpdatedApp {
    public static void main(String[] args) {
        System.out.println("fixMe");
    }
}

stage0-module3-task1's People

Contributors

andrekukshinov avatar art-orient avatar thecha1nwarden avatar sukora-stas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.