Professional Documents
Culture Documents
Demo LP
Demo LP
Demo LP
LESSON PLAN
Date/Time: May 5 2023: Friday/ 8:00-9:00 AM
Duration
1. OBJECTIVES
At the end of the lesson, the students are expected to:
1 Explain Java Classes and Objects.
.
1
1 Identify the types of variables and Objects
.
2
1 Create a simple program about Java Classes and Objects.
.
3
2. CONTENT
2.1. Topic
2.1.1.
● What are Java Classes and Objects?
Subtopic
● The Different Types of Variables and Constructors.
● https://www.w3schools.com/java/java_classes.asp
● https://www.geeksforgeeks.org/classes-objects-java/
3. PROCEDURES
3.1. Preparatory Activity
3.1.1. Classroom Management 2 min.
3.1.2. Prayer/Greetings 2 mins.
3.1.3. Checking of Attendance 5 mins.
3.1.4. Review
● Recap of the topic last week
What is Java Recursion?
Okay class, do you find our activity *students raising their hands*
engaging? Yes, Ma’am it’s fun and exciting!
Great! Since you don’t have questions or *student raising their hands*
qualification let’s proceed to the Syntax Ma’am None so far
Method
In conclusion Public int it is used to return
type indicates the data type of the variable
returned by a method. While the public
void is the name of a method and the body
of the method describes the functionality. If
you remember the topic that I discussed
before it is the same but different
functionalities.
Is there any question or clarification here?
*calls students*
Is there anyone here who wants to try ? *Students raising their hands*
Yes Ma'am first identify which are the objects and
*calls students*
types and then i started to code and then follow the
flow of the example.
Great! You can share your screen while
doing the example. I will give you 3 minutes
to finish the program.
OUTPUT
10
Identification:
1.It is a template used to create objects and to define object data types and methods?
2.It is named as a field containing information Associated with the class or object?
3-5.In any order, give the three types of constructors.
6. A constructor with arguments or parameters is known as ?
7. A variable that is declared inside a class but outside in any method or constructor?
8. It is used to describe the behavior of the class.
9-10. In any order give at least 2 types of Variables.
Answer Key:
1. Java Class
2. Variables
3. No Argument Constructors
4. Parameterized constructors
5. Default Constructor
6. Parameterized Constructor
7. Instance Variable
8. Methods
9. Local Variable
10. Instance Variable
4. ASSIGNMENT 4 mins.
INSTRUCTIONS:
1. For your asynchronous activity.
2. Fill in the missing parts of syntax below.
3. Write your answer on a yellow pad of paper.
4. Try it on Java Eclipse , or Java N-IDE, or an Online compiler.
5. Screen record your output, and upload the recordings to this link.
Answer Key:
1. Myclass
2. x
3. Myclass
4. 5
5. my0bj
6. myObj
7. x