Computer Science, asked by sahadevrana, 4 months ago


Describe the basic syntax of Java Programming. pls

Answers

Answered by BihariLadki
5

Answer:

The syntax of Java refers to the set of rules defining how a Java program is written and interpreted. ... 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 códe belongs to classes and all values are objects.

String: "Hello, World" (sequence of characters and character escapes enclosed in do.

\blue{ItzLioness}

Answered by shewalemayuri35
1

ANSWER:

The syntax of Java refers to 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. When we consider a Java program, it can be defined as a collection of objects that communicate via invoking each other's methods. Class − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type supports. ... Methods − A method is basically a behavior.

Similar questions