Giter Site home page Giter Site logo

java-programming's People

Contributors

xapn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

java-programming's Issues

Write license informations

Put the name of the license at the home page of the project, with a link to the complete license (http://www.gnu.org/licences/gpl.html for the GPL).
Put the complete license in a file embedded by the software.
Put a license note with informations about copyright : date, author, path of the complete license.

In addition, each source code file shall provide the copyright date, the author, the license name and where to find the complete license.

Java 5 Annotations

How to use the JDK meta-annotations: @Documented, @Inherited, @Retention, @Target.
How to create a @TODO annotation to mark any uncompleted source code.
How to create an @EmptyConstructor annotation to mark a class that has to have an empty constructor and to verify this during compilation.

FooBarQix from CodeStory

Write a program that displays the numbers between 1 and 100, one number per row. The rules follows:

  • If a number is divisible by 3 or contains 3, write "Foo" instead of 3.
  • If a number is divisible by 5 or contains 5, write "Bar" instead of 5.
  • If a number is divisible by 7 or contains 7, write "Qix" instead of 7.
  • One looks for the divisors before the content (ex: 51 -> FooBar).
  • One looks for the divisors according the following order: Foo, Bar, then Qix (ex: 21 -> FooQix).
  • One analyzes the content according to its order (ex: 53 -> BarFoo).

For example:
1
2
FooFoo
4
BarBar
Foo
QixQix
8
Foo
Bar
...

Code Story challenge : http://www.code-story.net/2011/11/16/foobarqix.html

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.