Give basic information to write about programming " JAVA "
Don't spam.
Answers
Answered by
1
To make a java program you need to --
1) Declare a class --
It can be public (anyone can use it) , private(only you can use it) or protected(only some Authorized people can use it).
2) You need to know that your program requires to import any function, package or object from in-built java library or not.
3) Create the main method/function to access further features.
4) Do suitable programming in this main method/function and print suitable messages(if any).
5) When programming is done compile the program and execute it.
6) You can use apps like BLUEJ if you have just started programming in JAVA.
Hope it helps plz mark me as brainliest.
1) Declare a class --
It can be public (anyone can use it) , private(only you can use it) or protected(only some Authorized people can use it).
2) You need to know that your program requires to import any function, package or object from in-built java library or not.
3) Create the main method/function to access further features.
4) Do suitable programming in this main method/function and print suitable messages(if any).
5) When programming is done compile the program and execute it.
6) You can use apps like BLUEJ if you have just started programming in JAVA.
Hope it helps plz mark me as brainliest.
honey2242:
if it is wrong pls correct me than deleting it and i am needed to be corrected as i am learning java as my one of the subjects in my school
Answered by
9
Java is a strict Object Oriented programming language and so, it represents real world solutions through codes
Java is both compiled and interpreted.
To write a simple java program u need to understand the logic begind the question.... Suppose the question is take two numbers from the users and print its sum... So, first the initial seven lines of the program will be same in every program,where we are taking input from the user...
Java is both compiled and interpreted.
To write a simple java program u need to understand the logic begind the question.... Suppose the question is take two numbers from the users and print its sum... So, first the initial seven lines of the program will be same in every program,where we are taking input from the user...
Attachments:
Similar questions