Script
- Start with a Prayer. (Tuesday Prayer)
- Greetings.
- Introduce the Topic. //getting to know java programming//
- but before we start LET ME ASKED YOU SOME QUESTIONS, "Have you ever talked to Siri,
Alexa, or played Mobile Games?" "How do you think they follow instructions?"
continue - by HOW WE communicate. on what way?
by programming language
like for ex. Java. BUT BEFORE WE TO "what is JAVA?" LET ME explain FIRST WHAT IS AN OOP..
IT helps to keep the Java code DRY "Don't Repeat Yourself", and makes the code easier to
maintain, modify and debug.
learning Points
1. computers don’t understand English, Tagalog or Bisaya, in short they don't understand
Human Language. they only understand "CODE". SO WHAT IS CODE BTW? WHAT IS OTHER
TERM OF THIS? … IT IS CALLED .. OR THE COMPUTER LANGUAGE.
// diba, the computer have their own language which is what we called Binary code. instead of
using computer language or binary codes which is not easy to use and understand, we have
programming language.// So Java is like a human language that humans use to communicate
and understand each other.
So WHICH MEANS if we communicate to computers, Java is one way to communicate to them,
why? because not just the computer can understand but also "US" humans or we also called
programmers..
2. *image SHOWN.
- this is how JAVA saying Hello to us.
Like grammar in English, or making essay there are ways or process to make right sentence para
dili ma wrong grammar. Java has also Rules. So, As YOU students what will happen if you break
school rules? same to programming if only just one syntax is missing the program will WHAT?
WILL fail to run or an ERROR will occur.
3. Java is everywhere. it’s used in many things: applications, websites, games, banking
systems. //Show a phone → “Your Messenger or Mobile Legends may be partly running because
of Java!”//.
The class is like the concept
Each object created from the class is like an actual person in the family
Attributes represent what family members have.
Methods represent what family members do.
Inheritance is like heredity in a family.
A child class inherits traits and behaviors from the parent class (just like children inherit traits
from parents).
Variable = Specific Information About a Family Member
Think of a variable as a container that holds one piece of information.
Example: In a person (object), "age = 20" or "name = Ana".