Home Tutorialhelp Comment Dear gulshan(01.2.07 @ 15:51pm | #2420 ), u aske

 
 

Comment

vikash prabodh
Dear gulshan(01.2.07 @ 15:51pm | #2420 ), u aske,
February 13, 2007 at 2:06 PM

Dear gulshan(01.2.07 @ 15:51pm | #2420
),
u asked... why we write static in main.

public static void main(string agrs[])

the solution to this question is we can have multiple functions named main in our program of java but the function whichn is having a static is considered as tha main function and exicution statrs from there. we cannot have more than 1 static main function as it will result in a compilation error.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Development process Questions

Dear Sir I need to join u
Dear Sir I need to join u  Dear Sir i am santosh Rai from Saudi Arabia please make me understood how to join u and i have one question i want to working with you what is ur process for working with u please send me 

Java Beginners

CoreJava
CoreJava  Sir, What is the difference between pass by value and pass by reference. can u give an example 

Java Beginners

corejava
 

Java Interview Questions

corejava
 

Java Beginners

CoreJava Project
CoreJava Project  Hi Sir, I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Java Beginners

Thank U - Java Beginners
Thank U  Thank U very Much Sir,Its Very Very Useful for Me. From SUSHANT 

Java Beginners

corejava - Java Beginners
corejava pass by value semantics  Example of pass by value semantics in Core Java.  Hi friend,Java passes parameters to methods using pass by value semantics. That is, a copy of the value of each of the specified 

Java Beginners

CoreJava - Java Beginners
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Beginners

corejava - Java Beginners
 

Java Interview Questions

Corejava - Java Interview Questions
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Swing AWT

how can u reduce the size of textfield?
how can u reduce the size of textfield?  how can u reduce the size of textfield? thanks in advance   import javax.swing.*; public class ReduceTextField extends JFrame { public static void main(String 

Java Beginners

Can u Look to the error plz - Java Beginners
Can u Look to the error plz  this is my code can u modify it plz and give me the result of it when u check it on eclipse or jcreator plz and i will be more thankfull if u do that :) , oh yeh one thing can you draw a flag 

Java Beginners

can u plz try this program - Java Beginners
can u plz try this program  Write a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record, List Records. Each Record contains: Name(max 100 char), Age, Notes(No Maximum Limit 

Java Beginners

code and specification u asked - Java Beginners
code and specification u asked  you asked me to send the requirements...(); display.dispose(); } } so i have sent u the code and specification...i think this will help u to solve my problem....expecting the solution 

JSP Servlet Questions

CAN U HELP ME TO CODE IN JSP FOR ONLINE VOTING SYSTEM
CAN U HELP ME TO CODE IN JSP FOR ONLINE VOTING SYSTEM  can u help me to code in jsp for online voting system 

Java Beginners

Write a program that replaces a, e, i, o, u in Java2
Write a program that replaces a, e, i, o, u in Java2  Write a program that replaces a, e, i, o, u, with the letter z. (i.e. John Smith -> Jzhn Smzth. Also the program reverses the users name (i.e. John Smith -> htimS nhoJ 

Date Calendar

can u help me to get a calendar with color codes on days ???
can u help me to get a calendar with color codes on days ???  hi roseindia, Can you help me to get the code, I need a calendar with color codes.i,e Sunday,Saturday dates display in blue color and my calendar should takes 

JSP Servlet Questions

can u plz explain the http request methods - JSP-Servlet
can u plz explain the http request methods  can u plz explain http request methods? as well in jdbc...how to delete the duplicate records in database?  Hi friend, public interface HttpServletRequest extends 

JSP Interview Questions

plz help me any one as fast as u can
plz help me any one as fast as u can  A thief Muthhooswamy planned to escape from **** jail. Muthhooswamy is basically a monkey man and he is able to jump across the wall. He practiced to cross a wall and he is able to jump 'X 

JavaMail Questions

can u plz help out how to attach file directly & send to a particular mail id
can u plz help out how to attach file directly & send to a particular mail id  i am building a project online LEAVE MANAGEMENT SYSTEM to our coll mini project so if a faculty write all details abt leave & shd send to HOD 

General

U - Java Terms
U - Java Terms       Java util Date The class Date in "java.util" package represents date and time. It's no arguments constructor 

Mobile Applications Questions

this code gives addition of 2 numbers in j2me..but the code is not executing ..can u pls find out the error...??
this code gives addition of 2 numbers in j2me..but the code is not executing ..can u pls find out the error...??  import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class add1 extends MIDlet implements 

Java Server Faces Questions

required treenodes checkboxes are not clicking if u change the url - Java Server Faces Questions
required treenodes checkboxes are not clicking if u change the url  Hi, Here i have Library.java file. just look at d url : http://localhost...(1001,1007,1002,1005,1008,1002,1009,1010,1008)are getting clicked. But when u again add or remove the album 

Java Beginners

hi its the coding of create layout of chess in applet i hope u like it
 

JSP Servlet Questions

displaying List of records from database in a jsp using ajax, onclick it should display the results ?? its urgent can u help me
displaying List of records from database in a jsp using ajax, onclick it should display the results ?? its urgent can u help me   displaying List... ?? its urgent can u help me 

Java Beginners

Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)
Can u print in turbo C  Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times 

Date Calendar

Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)  Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print 

JSP Servlet Questions

autentication & authorisation - JSP-Servlet
/interviewquestions/corejava/null-marker-interfaces-in-java.shtml Thanks 

Java Interview Questions

hint - Java Interview Questions
hint  Dear roseindia, i want the java interview question and the corresponding question answers.   Hi Friend, Please visit the following link: http://roseindia.net/interviewquestions/ Here you will get lot 

Java Beginners

core java - Java Beginners
core java  how to create a login page using only corejava(not servlets,jsp,hibernate,springs,structs)and that created loginpage contains database(ms-access) the database contains data what ever u r enter and automatically date 

Core Java

Ask Programming Questions and Discuss your Problems
Ask Programming Questions and Discuss your Problems       Dear Users, Analyzing your plenty of problems and your love for Java and Java and Java related fields, Roseindia Technologies 

Java Beginners

Hello - Java Beginners
Hello   Hi Friend, I want to java objective type question(means programming objective)+answer If u know any url then please... this link.... http://www.roseindia.net/interviewquestions/ Thanks 

Java Interview Questions

java questions - Java Interview Questions
java questions  HI ALL , how are all of u?? Plz send me... the interview for any company for <1 year experience thanks for all of u in advance...://www.roseindia.net/interviewquestions/ Thanks 

JDBC

Creating a MySQL Database Table to store Java Types
Creating a MySQL Database Table to store Java Types       Dear user, consider a case where we need to store a java types in our database table. Now one question may arise in your 

Java Interview Questions

Java - Java Interview Questions
Applications, 2008 passout, Can u give Some Idea about Attending MNC Technical... link.http://www.roseindia.net/interviewquestions 

Java Interview Questions

java - Java Interview Questions
/interviewquestions/corejava.shtml I think this is enough.. but u can see http 

Java Beginners

hi all - Java Beginners
hi all  hi, i need interview questions of the java asap can u please sendme to my mail   Hi, Hope you didnt have this eBook. You... for more information. http://www.roseindia.net/interviewquestions 

Struts Questions

ImadeAdding In dataBASE - Struts
ImadeAdding In dataBASE  Dear Friends Can u tell me how to store imaage in sql database using Struct 1.2. 

Subversion Questions

which is better - Subversion
which is better  Dear sir, Could u pls tell which version control is better among the following four. Subversion, git, bazaar, Mercurial 

Java Interview Questions

web application
web application  Dear friend, could u plz tell me wats difference bt web server,application server,container with thanks praveen 

Java Beginners

JList
JList  pls tell me about the concept the JList in corejava? and tell me a suitable example 

Java Server Faces Questions

java - Java Server Faces Questions
java  Java Server Faces Quedtions  Hi friend, http://www.roseindia.net/interviewquestions/jsf/ http://www.roseindia.net/interviewquestions/jsf/JSF-interview-questions.shtml Thanks 

Java Interview Questions

java - Java Interview Questions
java  hello sir this is suraj .i wanna ask u regarding interview... difficult 2 answer....so could u plz suggest me with sme information regarding tis.../interviewquestions/ Here you will get lot of interview questions 

JSP Servlet Questions

coding problem - JSP-Servlet
coding problem  dear sir will u plz tell me how can we delete a record from the database(MSaccess) when option in the combobox is selected(jsp)  If u want to delete the record from database, by seleting 

JSP Servlet Questions

load and upload. - JSP-Servlet
load and upload.  dear sir, plz give me the sol for my problem.i m waiting for u r reply. why u not replying ..   Hi Friend, We haven't remember your problem. So please send it again. Thanks 

Java Interview Questions

interview questin of java - Java Interview Questions
://www.roseindia.net/interviewquestions/corejava.shtml http://www.roseindia.net/interviewquestions/ Thanks & Regards Amardeep 

Servlet Interview Questions

java - Servlet Interview Questions
java  servlet interview questions  Hi friend, For Servlet interview Questions visit to : http://www.roseindia.net/interviewquestions/servlet/ Thanks 

Java Beginners

core java - Java Beginners
Core Java interview Help   Core Java interview questions with answers  Hi friend,Read for more information.http://roseindia.net/interviewquestions 

Jobs

PERL & CGI Programmer
 

Servlet Interview Questions

servlet config
servlet config  Dear friend plz tell the Purpose of ServletConfig?? supose if v write sample application .say... hello world in this wat could be the init parameter need to pass !!r plz expalin some sample app where u used 

Servlet Interview Questions

servlet config
servlet config  Dear friend plz tell the Purpose of ServletConfig?? supose if v write sample application .say... hello world in this wat could be the init parameter need to pass !!r plz expalin some sample app where u used 

Java Beginners

create dictionary in java
create dictionary in java  Hi, dear : How can create simple dictionary in java .. by using Applet or any other way like GUI (basic), please write Comment on the line that difficult to learning it .think u so much 

JSP Servlet Questions

write excel file into the oracle database
write excel file into the oracle database  dear sir, i need the jsp code that reads the excel file and stores it into the oracle database table..and also i need the code to connect oracle database? thank u in advance 

JSP Servlet Questions

how to make a proper arrangement of a string - JSP-Servlet
Dear Harini , U r email id is harini@antaressystems.com , cl...how to make a proper arrangement of a string  Dear sir, I... is not properly arranged they are getting in a single line like this following Dear 

JSP Servlet Questions

how to send a mail - JSP-Servlet
sending a following matter Dear Harini , U r bonus is 2000 . Regards Hr. But when a receiver got a this mail as a Dear Harini,U r bonus...how to send a mail  Dear sir, I am able to send a mail.But 

JSP Servlet Questions

NEXT and PREVIOUS Records - JSP-Servlet
NEXT and PREVIOUS Records  Dear Sir, In my Project i have next... and Regards, vijayababu.m  Hi Vijayababu.... Can u please specify which technology u are using?? Thanks 

Java Beginners

java apptitude question and answers - Java Beginners
java apptitude question and answers  i want java appititude question and answers  Hi Friend, Please visit the following link: http://www.roseindia.net/interviewquestions/ Thanks 

Struts Questions

JAVA - Struts
://www.roseindia.net/interviewquestions/strutsinterviewquestions.shtmlcheck the above link 

JSP Servlet Questions

Servlets - JSP-Servlet
Servlets  How can we differentiate the doGet() and doPost() methods in Servlets  Hi friend, Difference between doGet() and doPost() http://www.roseindia.net/interviewquestions/servlet/ Thanks 

Java Beginners

code problem - Java Beginners
code problem  Dear sir, my question was actually how to find a particual line's contain, example if a file contains- hy, how r u? regrd, john... be like: Line1= hy Line3= regard, Line2= how r u? Line4= john! My meant 

Struts Questions

Struts - Struts
Struts  Dear Sir , I am very new in Struts and want to learn about validation and custom validation. U have given in a such nice way to understand but little bit confusion,Plz could u provide the zip for address 

JSP Servlet Questions

i have split a string by space ,done some operation and now how to properly order them for sending a mail in java or jsp - JSP-Servlet
area Dear ~name , U r salary for this month is ~salary . Thanks and Regards Hr. ///After sent it will look like Dear Harini ,U r salary... order them for sending a mail in java or jsp  Dear sir, I have 

JSP Interview Questions

saving data - JSP-Interview Questions
saving data  Dear Sir/Madam, Please teach me step by step how to save the data in JSP and using crimson editor? Thank u very much. rodmel  Hi friend, I am sending you data store code into the database 

Java Beginners

J2ME project - Java Beginners
J2ME project  Dear, I have been assigned with a J2ME project on MEDICAL CENTRAL SUPPLIES. Well i have a little bit knowledge about J2ME... . If u have a demo project on MEDICAL CENTRAL SUPPLIES please give me 

Java Beginners

Project Concerning - Java Beginners
Project Concerning  Dear Sir, Can you write me URL of any website from where I study the Servlet, JSP project.   Just googled it n im sure u will get many more results. Otherwise, RoseIndia is a better option 

Mobile Applications Questions

load and upload. - MobileApplications
load and upload.  Dear sir/mam, i want code for java based application, that can take .3GP video file and upload it to youtube using youtube's... file).i hope u understand what i have asked.plzzzz help me 

PHP Questions

I GOT ERROR FOR MY PROJECT
I GOT ERROR FOR MY PROJECT  Dear Friend/ RoseIndia Team, Firstly I would to thank u Guys help me so many time.. I got error on my little project when running at server. please correctly my error Guys... ERROR CODE: "LOGIN 

Java Beginners

J2ME project on handled device
J2ME project on handled device  Dear, I have been assigned with a J2ME project on handled device. Well i have a little bit knowledge about J2ME but i have to present this project. If u have a demo project on handled device 

JSP Servlet Questions

session management - JSP-Servlet
so pls friends guide me dear. thank u bye...session management  hi friends... hope u all dng fine. i am dng... u my code. WEB.XML:- 1 like this i 

Java Beginners

java - Java Beginners
://www.roseindia.net/interviewquestions/ Thanks 

Java Interview Questions

interview question - Java Interview Questions
interview question  hello i want technical interview question in current year   Hi Friend, Please visit the following links: http://www.roseindia.net/interviewquestions/ http://www.roseindia.net 

Java Interview Questions

java - Java Interview Questions
java  i want to java&j2ee interview questions. Regards Akhilesh Kumar  Hi friend, I am sending you a link. This link will help you. Read for more information. http://www.roseindia.net/interviewquestions 

JSP Interview Questions

java - JSP-Interview Questions
java  hi.. snd some JSP interview Q&A and i wnt the JNI(Java Native Interface) concepts matrial thanks krishna  Hi friend, Read more information. http://www.roseindia.net/interviewquestions/jsp-interview 

Java Interview Questions

Java Interview - Java Interview Questions
. http://www.roseindia.net/interviewquestions/ Thanks 

Struts Questions

IMP - Struts
: http://www.roseindia.net/interviewquestions 

Java Interview Questions

about c and java
://www.roseindia.net/c-tutorials/ http://www.roseindia.net/interviewquestions 

Java Beginners

J2ME project - Java Beginners
J2ME project  Dear, I have been assigned with a J2ME project on MEDICAL CENTRAL SUPPLIES. Well i have a little bit knowledge about J2ME... . If u have a demo project on MEDICAL CENTRAL SUPPLIES please give me 

Java Beginners

code problem - Java Beginners
code problem  Dear sir, i'm making a program where characters of a string are being displayed having its length thru a loop, like- s a t i s... u very very much sir i got satisfied answer. thnxxxxxxxx once again sir 

Java Beginners

command prompt is compilation is not working
command prompt is compilation is not working   Dear java users can anyone help me to run the program in command line prompt i tried by selecting... and iam using windows 7 os thanking u from ashokkumar 

JDBC Questions

jdbc code - JDBC
jdbc code  Dear Sir, i have created one jsp with two fields... is the code to extract them and display them in jsp   if u want to display current user and his/her password use ServletContext. or like this. if u want 

Java Interview Questions

Java Locale
/corejava/javatext/parseAndFormatDateUsingLocale.html Thanks 

IDE Questions

Eclipse - IDE Questions
Eclipse  Hi To All.. I am new to ECLIPSE IDE. Please suggest me any book which can give me complete idea of setting environment and development with basic to advance development of java like(corejava,servlet,jsp,struts,ejb 

Java Beginners

What is Locale - Java Beginners
://www.roseindia.net/tutorial/java/corejava/javatext 

Java Beginners

HOW TO BECOME A GOOD PROGRAMMER
HOW TO BECOME A GOOD PROGRAMMER  I want to know how to become good programmer   Hi Friend, Please go through the following link: CoreJava Tutorials Here you will get lot of examples with illustration where you can 

Advertisements Advertisements
 

 

 

DMCA.com