ITSD322U1DB

 

Java uses a syntax based on the C family of programming languages, which includes C++, C# (used in Windows) and Objective C (used in iOS and Mac OSX). Like many languages, Java’s syntax is characterized by defining keywords and structural elements that indicate the boundaries and interactions of sections of code.

For this discussion, pick TWO of the below listed topics and explore it using the course textbook and learning activities, and any additional resources you might find from an Internet search. Respond to the questions provided with the item you select. Note: this is a discussion board, not a research paper, so focus on your thoughts, ideas, and any relevant experience.

Topic 1: Consider the use of curly brackets, square brackets, and semi-colons in Java. What purpose might these serve? What would the code be like without them? Do you consider them necessary or a nuisance? Please explain your answer.

Topic 2: Java uses keywords to indicate certain features of a section of code. Examples include “public,” “private,” and “extends.” Discuss the use of keywords in Java. In your post provide an example and how it is used. Discuss the importance of Java keywords.

Topic 3: Discuss how Java syntax compares with another language that you have some familiarity with. Share your perspective on whether one or the other is easier or harder to use, whether the code it produces is more or less easy to understand, and what your personal preference is. Please be sure to explain your answers.

Topic 4: Some languages are better suited for certain kinds of applications than others. Consider what kinds of applications Java might be best suited for, and why. In your post, provide two examples where Java is an ideally suited programming language. Explain your answer.

Tags: No tags