Home Discussion Discuss: Undrer Standing the HelloWorld Program

  • javalucky March 26, 2012 at 10:10 AM

    Is static keyword mandatory in main() method?? if so, can u give me the detailed explanation??

  • knowledge improvesrinu April 15, 2013 at 6:21 PM

    This is very useful and easy to learn.

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Java Tips and Examples

Undrer Standing the HelloWorld Program
Under Standing the HelloWorld Program   .... (instance of program is called object ). The public word specifies the accessibility... accessibility: public class HelloWorld {    The main Method:  

Java Beginners

program on helloworld :explain
program on helloworld :explain  class Hello { public static void main...; variable exists within the class or object. (instance of program is called object... in the Java program and java program can't run without main method. JVM calls the main 

Java Beginners

program on helloworld :explain
program on helloworld :explain  class Hello { public static void... the class or object. (instance of program is called object ). The public word...". The main Method: The main method is the entry point in the Java program and java 

JSP Servlet Questions

Display helloworld using servlet in jboss
Display helloworld using servlet in jboss  import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld...:\Program Files\Java\jdk1.6.0_33 set JBossHome=C:\Program Files\software 

Struts Questions

Struts2 Helloworld problem -Please help - Struts
Struts2 Helloworld problem -Please help  Hi I am a beginner in Struts2. I tried some HelloWorld example in Struts2, to understand. But due to some problem I unable to execute the program successfully. Please find my example 

General

Very simple `Hello world' java program that prints HelloWorld
program, java codes are written in the java class.  class HelloWorld... Hello World Java Simple Java Program for beginners... to develop robust applications. Writing a simple Hello World program is stepwise 

PHP Tutorial

HelloWorld in PHP
Hello World in PHP Program To write and run your first PHP program, open the www folder and inside the folder create a folder with any suitable name (e.g. your name : rose), then create a .txt file and save it with any name and .php 

Ajax Questions

DOJO HelloWorld Example - Ajax
DOJO HelloWorld Example  Hi I am total in using DOJO for AJAX purpose From the HellowWorld example Hello World! The Button has already the onClick the helloPressed() function directly. SO what and when exactly does 

JSP Servlet Questions

display Helloworld through servlets using jboss
display Helloworld through servlets using jboss  I'm beginner,Can You please Write the code for this.Including WEB.INF   Please visit the following link: http://www.roseindia.net/jboss 

Java Beginners

Threading Program
Threading Program  Hi, write a java program that *continuously prints* "HelloWorld!" to the screen**(once every** second ) and **exists when press the enter key 

Flex 4

Hello World in Flex 4
: Write the name of the project in this field( like HelloWorld). 3... is following: Step 4: Now click the source button for writing a program for HelloWorld in Flex 4. The example is given below: <?xml version 

General

Collection of Large Number of Java Sample Programs and Tutorials
; HelloWorld Java Program Simple Java Program for beginners that prints HelloWorld! on console... example of java program is provided that shows you how you can 

Java Beginners

Hello World Program
Hello World Program  write a java program that continuously prints HelloWorld! to the screen(once every second ) and exists when press the enter key   Hi Friend, Try the following code: public class 

Java Beginners

servlet program problem - Java Beginners
servlet program problem   i used ur servlet example prg with xml file of helloworld program and i run dat program in tomcat, it shows only the files in my specified directory but when i clicked dat file name it just displaying 

JSP Tutorials

Understanding Hello World Java Program
Understanding Hello World Java Program       Now you are familiar with the Java program. In the last lesson you learned how to compile and run the Java program. Before 

Java-Tutorials

How to Program in Java
the program: C:\javatutorial\example>java HelloWorld Continue reading.. Read more...This tutorial tells you how to program in Java? As a beginner you must know... is also used to create enterprise web applications also. To program in Java you 

Java-Tutorials

First Java Program
the program use java HelloWorld command. Go to the Java video tutorial... your first Java program. In Java, all source code is written in plain text file... Machine. You can write a Hello World program as your first Java program. To write 

Java Beginners

program
program  any program of hotel or school management 

JDBC Questions

program
program  program of jdbc using ms access for creating table 

JavaScript Questions

program
program  write a javascript program to create a application form with validation 

HTML Questions

program
program  write a html program in show table and this word in box 

Java Beginners

program
program  write a program different between to dates in terms of days in java 

General

First Java Program
provides javac compiler to compile the Java program. To compile your HelloWorld... First Java Program       In this section you will learn how to develop your first Java program 

Java Beginners

program
program   Write a program to find the difference between sum of the squares and the square of the sums of n numbers 

Java Interview Questions

program
program  write a program reversee a string. input-hi this is roseindia output-roseindia is this hi 

JSP Servlet Questions

program
program  develop a servlet to insert the data in the database from our program in the table stored in the database 

Java Beginners

program
program  WAP a java program to form 1/2+3/4+5/6+7/8 series 

Java Beginners

program
program   An old-style movie theater has a simple profit program. Each customer pays $5 per ticket. Every performance costs the theater $20, plus $.50 per attendee. Develop the program calculateTotalProfit that consumes 

Java Beginners

program
program  explanation of program on extending thread class   Hi Friend, Please go through the following link: Java Threads Thanks 

Java Beginners

program
program  Develop the program calculateCylinderArea, which accepts radius of the cylinder's base disk and its height and computes surface area of the cylinder 

DMCA.com