What happens when a main method is declared as private?
Answer Posted / r.jainrocks@gmail.com
Byte that have main() implementation can become starting
point of program .
if a program have no main()
i.e.
public static void main(String[] args)
properly it can't become starting point in application
it can be use through other program which capable to become
starting point.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a layout manager and what are different types of layout managers available in java awt?
What is the do while loop syntax?
What is the right data type to represent a price in java?
Is int a class in java?
What is method overriding in java ?
What is an eror in java?
What all access modifiers are allowed for top class ?
Where is const variable stored?
What is a class object?
What is the Scope of Static Variable?
What is basic syntax?
Is the milky way in a void?
What is compareto?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What’s the difference between applets and standalone program?