SHARE OUT What is Java Java is a programming language we can use Java to tell

Share out what is java java is a programming language

This preview shows page 4 - 11 out of 23 pages.

SHARE OUT!
Image of page 4
What is Java?
Image of page 5
What’s programmed in Java?
Image of page 6
Comparing Java to Drawing a Picture Humans use Java, a programming language, to give instructions to the computer to perform a specific task or solve a problem. We create JAVA source files (humans can read and edit these files). The person giving the INSTRUCTIONS is the “ source code ”. We COMPILE (translate) our Java source files into a CLASS file so that the computer can understand it. The person DRAWING the image is the “ compiler ”.
Image of page 7
Keywords Java Understands public class System Identifiers: words programmers creates ClassName SecondClass
Image of page 8
What is a Class? A Class is used to define a type (classify something). String, Math, System, List, ArrayList Classes create Objects. Objects do the actual work in object- oriented programming. For example: Class Cats. This class can create many different kinds of Cat Objects.
Image of page 9
First Example: Classes To define a class use the keywords that Java understands: followed by a ClassName .
Image of page 10
Image of page 11

You've reached the end of your free preview.

Want to read all 23 pages?

  • Fall '20
  • Regular expression, Bracket

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture