Computer Science, asked by BubblySnowFake, 3 months ago

How to write a program in java? Explain in our own words... ​

Answers

Answered by Anonymous
1

Explanation:

basic java program would contain a class and a main method with some statements inside it.

Everything in java must be inside a class. The program is saved with . java extension.

The name of the file must be same as that of the class name. Here it is saved as 'HelloWorld.

Answered by Anonymous
17

Answer:

There are many ways to write a program in Java.

  1. Use a pen and paper
  2. Use a pencil and paper
  3. Use a computer, and a keyboard to type
  4. Use a laptop
  5. Use ur phone.

Hope it helps!!

(mai ab benaam nhi hu re. naam to pta hai mera terko)

Similar questions