GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  Oracle  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 125 of 134    Print  
public static void main(String argv)

what is wrong in the above main declaration?

  
Total Answers and Comments: 1 Last Update: September 25, 2006     Asked by: S.N.Prasath 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 25, 2006 04:07:59   #1  
Sunildatta        

RE: public static void main(String argv) w...
The signature of the main method should be public static void main (String argv[])Iin your question the argument passed to main() is String object, it should always be an String array.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Static Binding: if the binding is occur at compile time of our source code is called static bindingDynamic Binding: if the binding is occur when interpreter our class fine, then that binding is called Dynamic Binding. ...

How will u declare a synchronized block? What does this represent in the Declaration of synchronized block?

Class A{Public void meth(){}}class B extends A{ Public void meth(){ } public static void main(String args[]){ A a=new A(); a.meth();//which method will this call } }if u want to call a method of class B then how can u achieve this?

Latest Answer : There is only one copy of a static variable to serve all objects of the class, not one per object. It is allocated when the class is first loaded. Staic methods are class methods. All static methods are automatically final. static methods work without ...

Latest Answer : Yes.You can ...

Public void Methos(){ Int I;Int a[]=new int[10]; S.O.P(i); For(int k=0;k


Latest Answer :  String object value are constant. StringBuffer object values can be modified and they can be growable.  In StringBuffer, values can be inserted anywhere(even in the middle), but it is not possible with String. ...

How to increment the capacity of a StringBuffer? If String S="x"; S+"y"; Then what is S?

Latest Answer : no..construtors are meant for creating objects  and it is not a method but loojk likes method. 1.so u cant put final to other than method,vaRIABLE ,class. 2.if u put satitic means u r breaking the concpet of objects...wherea s constructors are ...
Read Answers (2) | Asked by : S.N.Prasath


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Using Oracle XML DB Repository

Using Oracle XML DB Repository Another variation on accessing and manipulating XML content stored in Oracle database is provided by Oracle XML DB repository which is an essential component of Oracle XML DB mosgoogle NOTE Oracle XML DB repository also known as XML repository is a hierarchically organ
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

XML Processing in PHP and Oracle Applications

Processing XML in PHP Oracle Applications As mentioned there are two alternatives when it comes to performing XML processing in your PHP Oracle application You can perform any required XML processing using either PHP s XML extensions or PEAR XML packages or Oracle s XML features mosgoogle In the fol
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

Getting Started with Oracle and ODP.NET

ODP NET Developer’ s Guide by Jagadish Chatarji Pulakhandam Sunitha Paruchuri A practical guide for developers working with the Oracle Data Provider for NET and the Oracle Developer Tools for Visual Studio 2005 Application development with ODP NET Dealing with XML DB using ODP NET Oracle
 

PHP Oracle Web Development Review

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books The author is also an expert in open source technologies and SOA Service Oriented Architecture But besides
 

Step by Step Oracle PL-SQL Tutorial

This introductory tutorial to PL SQL will help you to understand the basic concepts of PL SQL Please review the following tutorials and practice the sample SQL Statements on your local Oracle Database Please note that you must learn these basic things before we actually start getting in to Advanced
 

C++ Void Pointer and Null Pointer

C Void Pointer and Null Pointer In this C tutorial you will learn about two interesting types of pointers; void pointers and Null Pointer These pointers will be discussed in conjunction with syntax usage and example mosgoogle center Pointer to Void General Syntax void pointer variable; Void is use
 

Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape