| 0 | kirasiris | Programming, Website Tags: , ,


First of all, I’m not even sure what to categorize this post and I do not want to create a new category. Today I’m going to talk about my first class of Java!

So far, this is what I have been told

It was created by a company called Sun MicroSystems, Inc and it was first introduced at 1995; since then it has quickly grown in popularity.

All Java applications will always contain a main method somewhere in the code you write up:

public class Lincoln {
  // Prints a beautiful Hello! BITCHHHHHH
  public static void main(String[] args) {



Making comments its still a possibility!. Comments are lines of code that will be ignored by the compiler/software and will not be fetched into the user interface. An example on how to write them in Java is pretty similar to ones used in C++, PHP, even in JavaScript.

// this comment runs to the end of the line

  this comment runs to the terminating
  symbol, even across line breaks

/** this is a javadoc comment */

According to my teacher, the last comment is the recommended to use as it will somehow end up creating a documentation automatically!.


Variables are being used a lot, I mean a lot in programming projects, even in front-end stuff such as CSS with the SASS library. They can be set to receive an absolute value that will not change not matter what(CONSTANT) and they can obviously be stored into memory for them to be used in later on task required by the program. They’re written ‘similarly-equal’ to C++. By convention these are the rules.

title case for class names Lincoln
upper case for constants MAXIMUM

So yes, this is it for today!. Feel free to share this post with your friends in case you have found it useful!.

Leave a Reply

Back to Top