Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7603721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:43:39+00:00 2026-05-30T23:43:39+00:00

This question on my courswork that I could not understand. Q. The JAVA Language

  • 0

This question on my courswork that I could not understand.
Q. The JAVA Language Specification (3rd Edn.) is available for browsing or
downloading at java.sun.com/docs/books/jls/. Locate the section of it
that describes the so-called conditional operator ‘? :’.
Which aspects of the JAVA conditional operator construct are described formally, and which are described informally.
please help me understand what dose it mean by “aspects of the JAVA conditional operator construct are described formally”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:43:40+00:00Added an answer on May 30, 2026 at 11:43 pm

    By formal specification, I would guess your instructor is referring to BNF, which is about the only formal description you will find in the JLS. The goal of formal specifications is too express computer languages in a form which can be mathematically analyzed.

    I do not want to do your homework for you, but here is an example of a formal language expression in BNF:

    grammar ::= [{ assignment }] eoi
    assignment ::= name ('::=' | '=') expression
    expression = term [{ '|' term }]
    term = factor [{ white factor }]
    factor = IO | name | '[' expression ']' | '&{' expression '&}'
    IO = '\'' string '\'' | '"' string '"' | '`' string '`'
    

    This little gem is a BNF which ironically, defines the grammar of a BNF. You will notice that each element in a line is described by the lines below it. BNF is just one type of formal notation, but is very commonly used to mathematically express programming languages because it is easily broken down by parsers.

    The non-formal parts of the JLS will be those portions that are not expressed in BNF. They may take the form of simple sentences or bulleted lists that describe a function in plain English. You will find quite a lot of these in your homework assignment. Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is about removing sequences from an array, not duplicates in the strict
This question might look naive, but I couldn't understand this code in the ViewModelLocator.cs
(This question is related - but not the same - to this one) This
This question comes from a range of other questions that all deal with essentially
This question came to my head while working with a map in silverlight that
This question aims to understand RoR and frameworks in general. It looks like RoR
This question would not have existed if AspectJ worked the same way as EJB
This question is not strictly related to Symfony 2, but as I use Symfony
This question is similar to this question , bit the big difference is that
This question , has an accepted answer that only redirects the out command to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.