Giter Site home page Giter Site logo

996059396 / java-single-multi-line-comment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bytelegendquest/java-single-multi-line-comment

0.0 0.0 0.0 54 KB

Challenge of JavaIsland: Comment

License: GNU Affero General Public License v3.0

Java 100.00%

java-single-multi-line-comment's Introduction

简体中文

学习编写单行和多行注释

这个程序来自于真实世界中的著名的开源项目Guava。 这个练习的目的是让你熟悉注释(单行、多行)的写法及快捷键,你会在未来无数次地用到这些知识。

请将其中的单行注释改成多行注释,多行注释改成单行注释。不要修改注释内容本身。

例如,单行注释

// 今天
// 天气不错

改写成多行注释

/*
今天
天气不错
*/

反之亦然。

挑战

  • 这个程序的单行注释改成多行注释,多行注释改成单行注释。不要修改注释内容本身。
  • 创建一个Pull Request。
  • 机器人将会检查你的PR,告诉你你是否通过了挑战。
  • 回到字节传说,然后继续你的英雄旅程。

注意:我们只允许您修改以下文件,任何对其他文件的修改都会被拒绝:

  • src/main/java/com/google/common/escape/ArrayBasedUnicodeEscaper.java

English

Learn Single-line & Multi-line Comments

This program comes from a famous realworld opensource project Guava. The intention is to familiarize you with single-line and multi-line comments and the shotcuts. You'll benefit from it a million times in the future.

Please convert single-line comments to multi-line comments, and multi-line comments to single-line comments in the class. DO NOT change the content of the comments.

For example, single-line comments

// Hi
// Hello

should be converted into multi-line comments as:

/*
Hi
Hello
*/

And vice versa.

Challenge

  • Convert single-line comments to multi-line comments, and multi-line comments to single-line comments in this class. DO NOT change the content of the comments.
  • Create a pull request.
  • The bot will check your PR and tell you if you accomplish the challenge.
  • Go back to ByteLegend and continue your hero journey.

Note: we only allow you to modify the following files. Any changes to files other than the following files will be rejected:

  • src/main/java/com/google/common/escape/ArrayBasedUnicodeEscaper.java

java-single-multi-line-comment's People

Contributors

bytelegendbot avatar hah1346798520 avatar birdsnail avatar reallez avatar tdplay avatar gtn1024 avatar yangqingrui0432 avatar jaryarbn avatar greek-zzf avatar bwb408114278 avatar firepond avatar heleihelei avatar shiguoqing99 avatar forsakenud avatar wlonestar avatar wolizhiquana avatar meteorandy 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.