how to overload main method in java?
Answer / Sooraj Choudhary
In Java, you can overload a method by giving it a different number or types of parameters. However, the main method must have a specific signature: public static void main(String[] args). To overload, you can create additional methods with different parameter lists, but the first one must remain unchanged for program execution.n```javanpublic class Main {n public static void main(String[] args1) {n // code for the first methodn }n public static void main(int[] args2) {n // code for the second methodn }n}n```
| Is This Answer Correct ? | 0 Yes | 0 No |
write a program whose output will be- 1 12 123 1234 12345 in assembly language
how many profit center can we assig to material master
Wen ever i use IE=createObject (Ineternetexplorer.application) QTP just navigates to the URL mentioned but doesn't recognise the USErname and Password field so the test fails.. But wen i just record and use system.util "iexplore" the code recognises and the tst passes, but here it works fine sometimes and sometimes the test just fails and aftersometime i run it works.. so its not consistent,,, any suggestion
during the rebate processing i got error that THE SALES VOLUME FOR AGREEMENT <101> IS NOT CURRENT.SO HOW TO RESOLVE THIS ISSUES?
I-series. When I use: qtp DICTIONARY(PDMZZ) AUTO (*LIBL/MFR0120X)I get the error: *E* Can't open the file specified on the AUTO program parameter. File of different type already exists. When I use it auto without *libl ,qtp DICTIONARY(PDMZZ) AUTO (MFR0120X), it works fine
I worked with $message and $$message, Bt its not working?..
How u r going to change the company code in sap after entering the data and every thing.
What is Virus? plz give me full description
hi my name is sridhar,i hv completed my sap in fico.m getting confused how to get a job though m a fresher.please anybody do me help,m staying in bangalore
What is the major use of Servelet
what should i conten when company ask me abt tell me abtyour profile
wut is pre law