How to write a program in java? Explain in our own words...
Answers
Answered by
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
17
Answer:
There are many ways to write a program in Java.
- Use a pen and paper
- Use a pencil and paper
- Use a computer, and a keyboard to type
- Use a laptop
- Use ur phone.
Hope it helps!!
(mai ab benaam nhi hu re. naam to pta hai mera terko)
Similar questions