100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Java handouts

Rating
-
Sold
-
Pages
138
Uploaded on
11-09-2025
Written in
2024/2025

This document provides lecture notes for an introductory Java programming course. It covers the history and characteristics of Java, its syntax, primitive data types, variables, operators, control structures, and reserved keywords. Students are introduced to object-oriented concepts such as classes, objects, methods, constructors, encapsulation, inheritance, and polymorphism. The material includes examples (e.g., Hello World, Cat and Flower classes, Rabbit and Turtle case study), exercises, and guidance on good coding practices. It also emphasizes plagiarism awareness, correct code referencing, and academic integrity. The document serves as both a tutorial and reference for learning core Java programming skills.

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
September 11, 2025
Number of pages
138
Written in
2024/2025
Type
Other
Person
Unknown

Content preview

Topics: Teaching Block 1

• A history of Java
• Basic Java Skills
** Java syntax ** Primitive data types ** Assignment
** Variables ** Control structures ** Keywords
• Plagiarism
• OO Introduction
• Basic OO
** Classes and objects ** Data Hiding/Access Modifiers
** Instance variables ** Variable scope
** Methods ** Constructors

Use this as a checklist of topics/concepts that you are expected to learn.


EBU4201 © 2024/25

,Java: short history and basic features


Chapters 1+2 – “Core Java” book
Chapter 1 – “Head First Java” book
Chapter 1 – “Introduction to Java Programming” book
Chapter 1 – “Java in a Nutshell” book




EBU4201 © 2024/25 1

, How it all started …
• History:
– Sun Microsystems began working on a programming language for
“information appliances” – mobile phones, PDAs.
– Requirements  safe language, small footprint, efficient development
• However too soon …
– As PDAs failed, emphasis focussed on embedded software systems
such as Set-top boxes; at this point the language was called Oak.
– In 1993, the World Wide Web (WWW) started to take off and Mosaic
(first graphical browser) was released!
• As the WWW started to become more used …
– Oak was renamed to Java
– Sun redevelops Mosaic (“Hot Java”) as a web browser.
– The browser had the ability to dynamically download Java code 
these are called applets
PDA = Personal Digital Assistant

EBU4201 © 2024/25 2

, Java is not just a ‘web thing’ …
• Java allows users to • Does almost anything other traditional
interact with a web page, languages (e.g. C++, Pascal) do.
e.g. – But it is cleaner and easier to use.
– play games • Similar to C++, but Java has:
– calculate spreadsheets – no automatic type conversion, i.e. it is
– chat in real time strongly typed
– get continuously updated – no pointer operations
data – no GOTO statement, no global variables, no
– listen to inline sounds header file
that play in real time – no struct and union blocks, no templates
whenever a user loads a
– automatic garbage collection, so no need to
page
“free” memory
– cartoon style animations
– no multiple inheritance (more about this
– real-time video later)
and much, much more … – no backward compatibility with C, like C++


EBU4201 © 2024/25 3
$5.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
dicklong

Get to know the seller

Seller avatar
dicklong California Institute Of Technology
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 months
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions