Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Java as a structural language#

Sumit Rawal answered on October 3, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • what is a producedure java
  • What is a good scenario for using Composite design Pattern in Java?

  • Java as a structural language#

    0

    Before discussing the particulars, it is helpful to think of a computer program in terms of its structure and meaning simultaneously.

    A Java program is structured in a specific manner. Java is a language and, therefore, has grammar similar to a spoken language, like

    English

    . Computer languages' grammar is usually much more straightforward than spoken languages but has the disadvantage of stricter rules. Applying this structure or grammar to the language is what allows the computer to understand the program and what it is supposed to do.

    The overall program has a structure, but it is also essential to understand the purpose of part of that structure. By analogy, a textbook can be split into sections, chapters, paragraphs, sentences, and words (the system). Still, it is also necessary to understand the overall meaning of the words, sentences, and chapters to understand the textbook's content fully. You can think of this as the semantics of the program.

    A line-by-line analysis of the program should give a better idea of both the structure and meaning of the classic “Hello World” program. Let’s take a look at it in the upcoming lessons. 

    I'm sharing more

    Popularity 1/10 Helpfulness 1/10 Language java
    Source: Grepper
    Tags: java
    Link to this answer
    Share Copy Link
    Contributed on Oct 03 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.