Computer Science, asked by Rahul9048, 1 year ago

what is syntax in java?
with syntax​

Answers

Answered by SUBASHRAJ
9

Answer:

The syntax of the Java programming language is the set of rules defining how a Java program is written and interpreted. The syntax is mostly derived from C and C++. ... Some features like operator overloading or unsigned integer types are omitted to simplify the language and to avoid possible programming mistakes.

The syntax of the Java programming language is the set of rules defining how a Java program is written and interpreted.

The syntax is mostly derived from C and C++. Unlike in C++, in Java there are no global functions or variables, but there are data members which are also regarded as global variables. All code belongs to classes and all values are objects. The only exception is the primitive types, which are not represented by a class instance for performance reasons (though can be automatically converted to objects and vice versa via autoboxing). Some features like operator overloading or unsigned integer types are omitted to simplify the language and to avoid possible programming mistakes.

The Java syntax has been gradually extended in the course of the eleven major JDK releases support capabilities such as generic programming and function literals (called lambda expressions in Java).

Basic keywords

abstract continue for new switch

assert default goto package synchronized

boolean do if private this

break double implements protected throw

byte else import public throws

case enum instanceof return transient

catch extends int short try

char final interface static var

class finally long strictfp void

const float native super volatile

while

Explanation:

PLEASE MARK MY ANSWER AS A BRAINLIEST ANSWER...PLEASE

FOLLOW ME TOO

INBOX ME

Answered by 0xXIshuRajputXx0
3

Answer:

these conce pts are common to all progra  mming languages . but each pr ogramming lan guage has a diff erent way of expr essing the c ode also known as syn tax.

Explanation:

Similar questions