100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
College aantekeningen

Introduction to Java

Beoordeling
-
Verkocht
-
Pagina's
2
Geüpload op
27-08-2023
Geschreven in
2023/2024

The notes were taken from all the lectures (including SIPP) since the beginning of the semester. Notes will be regularly updated with time. Notes are concise and easy to read. They are a summation of the key points from the slides and the lecturers.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

CSC1016S Lecture 02 - 25/07/2023
Topic: Introduction to Java
Course: CSC1016S
Date: 25/07/2023
Professor/Speaker: Aslam Safla

INTRODUCTION TO JAVA
Java is an Object-Oriented Program (OOP)
Created by James Gosling (in 1991)
Released by Sun Microsystems (in 1996)
A type of Interpreted language (executes one line at a time)
Functions are called methods in Java
Java is a compiled language
A regular Java program is a class with the main method
JAVA CODING STEPS: Java code/java byte code/machine language/execute
Java can be considered both a compiled and an interpreted language because
its source code is first compiled into a binary byte-code. This byte-code runs
on the Java Virtual Machine (JVM), which is usually a software-based
interpreter.
Why Java byte code?
Makes Java portable
Allows program to run across various machines
Difference between compiled and interpreted language:
A compiled language is converted into machine code so that the processor
can execute it. An interpreted language is a language in which the
implementations execute instructions directly(line by line) without
earlier compiling a program into machine language. The compiled
programs run faster .th
an interpreted programs.
TYPICAL HELLOWORD PROGRAM
1 public class FirstProgram //class name
2{
3 public static void main ( String [ ] args) //main method
4 {
5 System.out.println("Hello world");
6 //Semi-colons at the end of every statement
7 }

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
27 augustus 2023
Aantal pagina's
2
Geschreven in
2023/2024
Type
College aantekeningen
Docent(en)
Aslam safla
Bevat
Alle colleges

Onderwerpen

€7,16
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
nicholasmavundlhajesussaves

Maak kennis met de verkoper

Seller avatar
nicholasmavundlhajesussaves University of Cape Town
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
0
Lid sinds
2 jaar
Aantal volgers
0
Documenten
4
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen