0% found this document useful (0 votes)
22 views

Lesson 2 - Executable Java App

The document discusses creating executable Java applications. It provides technical terms related to Java classes and the Java Virtual Machine. It also includes instructions on arranging jumbled words to form Java source code syntax and then running the program.

Uploaded by

CrimlesticPlayz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Lesson 2 - Executable Java App

The document discusses creating executable Java applications. It provides technical terms related to Java classes and the Java Virtual Machine. It also includes instructions on arranging jumbled words to form Java source code syntax and then running the program.

Uploaded by

CrimlesticPlayz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

MIX AND

MATCH
Given the output below, arrange the jumbled words in order to
Instruction: form a source code that will result with the given output

"Caileigh"; I am "
package sample; + public static void
"and " years old");
Age sample

int { ("My name is " String }

+ Name }
main(String[] args) {
Name = + +

System.out.println public class


Age = 3;
Creating Executable
Java Applications
WEEK 2 LESSON
Technical Terms
Class body - are between the braces
Class declarations- contains class
body with all the codes that provide
for the life cycle of the objects
created from the class
Java Virtual Machine (JVM)-
Abstract computing machine that
enables a computer to run a Java
program
Program in Java
Java application is a program that performs when
you use the Java command to run th Java Virtual
Machine (JVM)
Blank lines
Name of Your Package
Class Declaration
Left Brace
Beginning of the Body
of Class Declaration
Starting Point of Java
Application
Enclosed with the
parenthesis
Method
Practive at Home
INSTRUCTIONS:
1. Arrange the jumbled words to form a source code or syntax, write your answer
on a paper then take a picture of your answer (1st paper)
2. Check and analyze if the syntax is correct (without using any application ot paper,
be honest), if you found an error with the syntax, correct it by writing it on the
other paper, take a picture of the corrected syntax (2nd paper)
3. Transfer your answer on the Eclipse or Java N-IDE (Phone Application), check if
how many remaining errors where found. Write the number of errors on the 2nd
paper at the upper right conner.
4. Turn on your screen recording, then type and correct the syntax by identifying
the remaining errors, then run the program.
5. Submit the 2 pictures of the papers on my email address together with the
screen recording of your answer. email: [email protected]

"It is better to suffer wrong than to do it, and happier to be sometimes


cheated than not to trust."

You might also like