Results 1 to 3 of 3
  1. #1
    JayeshMundada is offline Member
    Join Date
    Mar 2014
    Posts
    1
    Rep Power
    0

    Unhappy Query. . . .?????????

    What happend when we use main() as a private. . . . .???????

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    832
    Rep Power
    6

    Default Re: Query. . . .?????????

    to call the main method from outside,public must be used
    Ramya:cool:

  3. #3
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default Re: Query. . . .?????????

    Quote Originally Posted by JayeshMundada View Post
    What happend when we use main() as a private. . . . .???????
    Nothing. You can do so, it just won't be usable as a "main" class as it will cause an exception.

Similar Threads

  1. Replies: 3
    Last Post: 10-19-2012, 10:16 PM
  2. SQL query to HQL
    By alvin0618 in forum JDBC
    Replies: 3
    Last Post: 04-08-2011, 09:00 AM
  3. Sql Query
    By Nomad in forum JDBC
    Replies: 16
    Last Post: 02-20-2009, 01:58 PM
  4. Help in Query
    By geeta_ravikanti in forum JDBC
    Replies: 0
    Last Post: 03-31-2008, 01:16 PM
  5. Using sql:query tag
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-15-2008, 03:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •