5 thoughts on “Question Of the Day

  1. I’m using oracle 10g, windows XP.
    driver class: “oracle.jdbc.driver.OracleDriver”
    url: “jdbc:oracle:thin:@localhost:1521:orcl”,”scott”,”tiger”
    but i didn’t get connected to DB

    java.sql.SQLException : Io Exception : The Network Adapter could not establish the connection

    • first go run type services start some oracle services otherwise re install,

      i had face same problem i done like that problem solved

  2. restart the service…..available in services.msc oracle services…..if not works out then stop the services and restart again…..it will works…..

  3. HOW TO PRINT A STATEMENT WITH OUT USING SEMI COLON IN JAVA LANGUAGE

    class Hello
    {
    public static void main(String args[])
    {
    if( java.lang.System.out.printf( “hello, world%n” )== null ){}
    }
    }

  4. HOW TO EXECUTE THE “HELLO WORLD” STATEMENT WITH OUT

    SEMICOLON IN JAVA

    class Hello
    {
    public static void main(String args[])
    {
    if(System.out.printf( “HELLO WORLD” )==null) {}
    }
    }

Leave a Reply