Home Discussion Discuss: Understanding public static void main function

  • javav.venkatraman June 6, 2013 at 3:02 PM

    i need more details

  • bimaashish November 3, 2011 at 8:11 AM

    help us

  • Static.Tanveer January 10, 2012 at 11:35 AM

    Static indicates that main() method is a class method how?

  • Java errorMr Java December 12, 2012 at 10:18 PM

    Ekhem... its: public static void main(String[] args)...

  • JAVAkunal jha November 17, 2012 at 10:27 PM

    description of public static void main(String args[ ]) is good but i need more clearification about static.

  • .Lahiru May 2, 2013 at 12:13 PM

    thanks for the info

  • This PostAkash Nigam July 18, 2013 at 11:26 PM

    Didn't expect this kinna explaination from roseindia..:(

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
General

Understanding public static void main function
Understanding public static void main function       The public static void main function is important.... Read more about public static void main function at http://www.roseindia.net 

Java Beginners

public static void main
information, visit the following link: Understanding public static void main...public static void main  what is mean public static void main?  .... static-It indicates that the main() method is a class method. void- It indicates 

Java Beginners

Static keyword in public static void main
= a * 4; } public static void main(String args[]) { meth(42); } } In the above...Static keyword in public static void main  Hi, I have seen... { static int a = 3; static int b; static void meth(int x) { System.out.println("x 

Java-Tutorials

What is Public static void main
What is Public static void main In most of the Programming language, main... are the variation of main method. public static void main(String[] args) public static void main(String... args) public static void main(String args 

Java Beginners

Why we are writting public static void main(String args[])?
Why we are writting public static void main(String args[])?  Why we are writting public static void main(String args[])? please elaborate it... and also explain the statement System.out.println("abc 

Java Interview Questions

JAVA what is different between static block and public static void main(String a[]) method
JAVA what is different between static block and public static void main(String... void main(String a[]) method,we execute method without main method(by static block) why need of public static void main(String [])?   Static blocks 

Java Beginners

main function
main function  Give me the description of public static void main(Strings args 

Java Beginners

What happen when we write static public void instead of public static void?
What happen when we write static public void instead of public static void?  Hi, What happen when we write static public void instead of public.../gettingstartedwithjava/public-static-void-main.shtml   Hi 

Java Beginners

Main function.. - Java Beginners
Main function..  Hi Friend.. public static void main(String args[]) What does it mean...public - static - void - main -(String args[]) Can u plz...   Hi friend, public: The method can be accessed outside the class 

Java Beginners

STATIC
is an example: public class StaticTest { static{ System.out.println("Hello from static block"); } public static void helloMethod() { System.out.println("Hello from static method"); } public static void main(String[] args) { helloMethod 

Java Beginners

static
StaticClass1 { public static void main(String[] args){ StaticClass1 sv1...redeclare static variable in the inherited class  can we redeclare static variable in the inherited class like this: public class StaticClass1 

Java Beginners

Why is the main method declared static?
Why is the main method declared static?  Hi, Why is the main method declared static? thanks   Hi, When we declare main() method in any Java class always has the same signature, and we declare public static void main 

Java Beginners

main function defnition in class - Java Beginners
static void main(String[] args) Thanks  hi, we use public...main function defnition in class  why do we use public infront of a main function   Hi friend, The main method is similar to the main 

Java Interview Questions

Can we replace main() with static block or with other static methods?
Can we replace main() with static block or with other static methods?  what is the use of public static void main()?can't we achieve the same thing through static block or through other static methods 

Java Beginners

static
is why if you declare the function main as static then java does not have to initialize the object at all to access the entry point (main function...Static Concept  in what are all the situation we may use static 

Java Interview Questions

How I call the function union from the main - Java Interview Questions
How I call the function union from the main  Please, from public static void main(String[] args) I would like to call the function union and I...; } public static void main(String[] args) { Relation relation = new 

Java Beginners

main method
in paranthesis denote?   Hi Friend, public-It indicates that the main() method can be called by any object. static-It indicates that the main() method is a class method. void- It indicates that the main() method has no return value 

Java Beginners

Accessing non-static members through the main method in Java.
it is permanently public static void... Accessing non-static members through the main method in Java.  As an oop rule, a static method can have access only to static variables and static 

Java Beginners

static functions
(){ System.out.println("it is static methode"+a); } } class main{ public static void...{ public static void main(string args[]){ a obj=new a();//can ,t requirement..."+a); } } class main{ public static void main(string args[]){ a obj=new a();//can ,t 

Java Beginners

I'm getting an illgal start of expression error in my code for the public static boolean portion at the bottom... any ideas?
{ public static void main (String[] args) { Random rand = new Random... { public static void main (String[] args) { Random rand = new Random...; } } } } public static boolean playAgain 

General Information

static keyword in java
); } } public class Test{ public static void main(String args... function in java program. In static method we call other static methods only...:- A static variable is a special function in java programming language. We can create 

Java Beginners

unoin function
sets. import java.util.*; public class SetsUnion { public static void main...unoin function  how to define a union function in java?(ex:a=a U b) how to write tha java code?give ex.   Java Union Function You have 

Java Beginners

function method
); System.out.println("Vowels are: "+res); } } public static void main(String... static void main(String[] args) { Scanner input=new Scanner(System.in...function method  i. void display(String str.int p)with one string 

Java Beginners

using function
(){ } } public class VowelsAndConsonants{ public static void main(String...); } } } void findVowelsAndConsonants(){ } } public class VowelsAndConsonants{ public static void main(String[] args)throws 

Java Beginners

problem with main - Java Beginners
; public static final int MOUTH_DEGREES_SHOWN = 180; public void paint...*; public class YellowFace extends JApplet { public static final int FACE_DIAMETER = 200; public static final int X_FACE = 100; public static final 

Java Beginners

static & instance - Java Beginners
is: " + count); // } public static void main(String[] args... and when can use instance variable.    public class Main { private static int noOfObjects; private int count; public Main 

Java Beginners

main() syntax - Java Beginners
roseindia; import java.lang; class Hello{ public static void main(String...main() syntax  Hi, I would like to know the complete structure of the main() in jdk1.5 with sample program. Regards, UsmanAli Shaik,   

Java Beginners

class static - Java Beginners
"); } public static void main(String[] args) { //i=100; j...; public static void staticMethod(){ System.out.println("you can access a static method this way"); } public void nonStaticMethod(){ i=100 

Java Beginners

Exception in thread "main" java.lang.ClassCastException
){e.printStackTrace();} } } public static void main(String[] argv) { try { Class driver... static void test(java.sql.Connection conn) { String query = "select nom_com from...Exception in thread "main" java.lang.ClassCastException  I am trying 

JDBC Questions

Exception in thread "main" java.lang.ClassCastException
){e.printStackTrace();} } } public static void main(String[] argv) { try { Class driver... public static void test(java.sql.Connection conn) { String query = "select nom_com...Exception in thread "main" java.lang.ClassCastException  I am trying 

DMCA.com