Visual Encyclopedia

Java (programming language)

Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. As of 2016, Java is one of the most popular programming languages in use, particularly for client-server web applications, with a reported 9 million developers. Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.

The description above is licensed from Wikipedia under the Creative Commons license.

Add an image or video to this topic

No signin required

or

Processing...

Cancel

Best posts about this topic

Loading . . .

Ad

This method has one parameter, it takes in an int and determines the appropriate suffix to add, it then returns said suffix as a string. It could be useful in a program where ordinal numbers are printed out. For example, in a print statement, after some int variable is printed, this method could be called right after with said variable in order to add the appropriate suffix (either -st, -nd, -rd, or -th). The code for this method follows below: public static String labelMaker(int n) //this method determines the appropriate ending to come after a number (-st, -nd, -rd, or -th) { String ending; //the end to be added to the number if ((n % 10 == 1) && (n != 11)) { ending = "st"; } else if ((n % 10 == 2) && (n != 12)) { ending = "nd"; } else if ((n % 10 == 3) && (n != 13)) { ending = "rd"; } else { ending = "th"; } return ending; }

Contributed by Connor Goham

What is Sussle?

Sussle is the first, open visual encyclopedia. Anyone can use it.

What's a visual encylopedia?

It has beautiful images and viral videos that are way more fun than reading all the text in traditional encyclopedias.

5 reasons you should add your own images and videos:

  1. If you found Sussle interesting, then give back by adding something interesting for others.
  2. Help others learn in a fun way.
  3. Make someone else interested in this topic laugh or say wow!
  4. Become internet-famous as people like and share your post.
  5. It's super easy, so it won't take more than a minute.

Ready to start?

Just click on the red module above.