stefanoszisidis / java_fundamentals

Curso de fundamentos de programación en java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fundamentals of Java

In this course, you will learn the basics of the #1 language in the world. Java is taught as an introductory language in CS courses all over the world. You will be among CS students from the best universities.

Sections

  1. Introduction
  2. Algorithms
  3. Conditional Statements
  4. Switch/Case
  5. Loops
  6. Arrays
  7. Matrix
  8. Strings
  9. Functions/Methods
  10. Black Box
  11. White Box
  12. Input/Output
  13. Passing by value
  14. Passing by reference
  15. Fibonacci's Sequence
  16. Prime Numbers
  17. Magic Matrix
  18. More about Strings
  19. Pow

Curso de programación básica en JAVA

How to install an IDE

First off, what is an IDE? An IDE (Integrated Development Environment) is a place for coders to change the code of the program they're working on. From the tiniest of projects to the largest you will need an IDE, which one you choose is up to you. For this tutorial we will be using Eclipse, but there are plenty of other choices.

Download the IDE

Go to the Eclipse website and download the latest version of Eclipse. Currently, it is Eclipse Oxygen.

Run through the setup

  1. Click "Eclipse IDE for Java Developers". This will install the IDE, a git (version control) client, and a couple of other editors for advanced Java development.
  2. Change the install path (if you want to), click install, then accept the terms and conditions.

Open Eclipse

  1. Launch Eclipse. Click 'Launch' when the program asks about a directory for the workspace.
  2. Click 'File' -> 'New' -> 'Java Project'. Enter a name for your project, and click 'Finish'.
  3. Right click on your project in the left pane, choose 'New', and select 'Class'. Name it 'Main'.
  4. Click 'Finish' and you're done! You can now do all of the examples in this repository!

Other way to work with java without using IDE

  1. Download java jdk from the website install it in the host machine and install the path.
  2. Download a text editor (Sublime, Atom, etc) and start writing the code.
  3. Open terminal go to the folder where your java code is saved and compile the file using the command javac classname.java.
  4. After successfully compiling the code java will create a class file with name classname.class.
  5. Next step is to execute the file in the terminal,command for executing is java classname.
  6. Boom!! there is your output "Hello world!".

Working with Maven

  1. Download Maven (3+) from http://maven.apache.org
  2. Unpack the folder and add the /bin directory to your PATH variable (http://www.baeldung.com/install-maven-on-windows-linux-mac)
  3. Open the terminal and go to the project folder
  4. Run 'mvn test' to run all the tests and verify everything is still working.

About

Curso de fundamentos de programación en java


Languages

Language:Java 100.0%