Search:

Type: Posts; User: vb_student

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    7,384

    Re: new line character in java

    thanks for the reply dude, makes sense now.
  2. Replies
    6
    Views
    7,384

    Re: new line character in java

    thanks for the replies,

    cornedbee, got your point, the articles came recommended by a couple of university website, that is why i have gone through them.

    what do you mean by a network protocol?
  3. Replies
    6
    Views
    7,384

    new line character in java

    Hello

    i was trying to figure out how to do the new line character in java according to this article
    http://www.developer.com/design/article.php/10925_3611496_2



    public class Primitives {
    ...
  4. Re: installation of JDK-6 does not allow me to do javac from the command line

    makes sense

    thanks dude
  5. Re: installation of JDK-6 does not allow me to do javac from the command line

    thansk for the reply

    i will configure the path, why doesn't the installation configure the path by itself?
  6. installation of JDK-6 does not allow me to do javac from the command line

    Hello

    I installed jdk-6 ( Java SE Development Kit and NetBeans IDE Cobundle (JDK 6 / NB 5.5) Final Release) from the
    sun site

    onto my laptop. and tried to compile a java class using the...
  7. Replies
    8
    Views
    757

    Re: contents of a null object

    thanks for the reply,

    i have done a bit of c++ programming, so that is where i was getting confused.

    so no pointer arithmetic in java!

    dont know what flow analysis is, but thanks for the...
  8. Re: [RESOLVED] cant get java sql code to work, what does System.exit(); do?

    thanks for the reply and the insight into error handling

    i am pretty much a noob, you know any good online resources for error handling
  9. Replies
    8
    Views
    757

    Re: contents of a null object

    thanks for the replies

    why not leave the variable uninitialised?

    is a reference to an object of type Employee the same as pointer(i knwo jaav does not have pointers) to an object of type...
  10. Replies
    8
    Views
    757

    Re: contents of a null object

    does that mean, that the employee null object does not even contain any of the methods or functions which it's class has?
  11. Replies
    8
    Views
    757

    contents of a null object

    Hello

    what are the contents of a null object?

    e.g. if this is an object Employee



    import java.io.*;
    import java.util.*;
  12. Re: cant get java sql code to work, what does System.exit(); do?

    dound out the mistake

    it should have been system.exit(0);
  13. Replies
    3
    Views
    631

    Re: cant get Java code to work

    thanks for the response dude,

    it makes sense
  14. [RESOLVED] cant get java sql code to work, what does System.exit(); do?

    Hello

    I cant get this piece of java code to compile



    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
  15. Replies
    3
    Views
    631

    cant get Java code to work

    Hello

    My JDBCDemo class code is


    public class JDBCDemo {
    Connection db_connection;
    Statement db_statement;
    ResultSet result;
    }
  16. why do JDBC lines of code require a try/catch block be provided. ?

    Hello

    why do JDBC lines of code require a try/catch block be provided. ?
  17. Re: difference between java.sql and javax.sql

    thanks for the insight cornedbee
  18. Re: trying to get jdbc program to work

    hey i finally got it to work, i needed to add the file to user DSN database, adding it to the System DSN or the File DSN did not work, interestingly eough the article stated that i needed to add it...
  19. Re: difference between java.sql and javax.sql

    i thought


    import java.sql.*


    imported the whole package, how does one import just a class?

    so java.* package are the foundation packages, and javax.* packages are the packages built on...
  20. Re: trying to get jdbc program to work

    thanks for the help anyway

    you think anyone on this forum might be able to help me
  21. Re: difference between java.sql and javax.sql

    thanks for yet another insight cornedbee

    but why could they not release a new version of java.sql, why add a new library?

    i guess when you import javax.sql, one does not need to import java.sql?
  22. Re: trying to get jdbc program to work

    thanks for the reply, so rundb (wrong name: RunDB) is basically dumbo use RunDB not rundb


    i did java JDBCTest and got the following error message, i have added a purchaseOrder.mdb to the ODBC...
  23. Re: difference between java.sql and javax.sql

    thanks for the reply cornedbee

    is java.sql a subset of javax.sql?
  24. [RESOLVED] trying to get jdbc program to work

    hey i tried to run this java code after compiling it



    // JDBC|Test – complete code
    public class JDBCTest {

    public static void main(String args[]){

    RunDB runDB = new RunDB();
  25. [RESOLVED] difference between java.sql and javax.sql

    hello

    i was wondering what the difference between the java.sql and javax.sql libraries were?
  26. Replies
    8
    Views
    785

    Re: cant write my first package

    thanks for the reply cornedbee

    isn't the class packaging importing class animal through the use of the code



    import animal.*


    and according to this statement
  27. Replies
    8
    Views
    785

    Re: cant write my first package

    hey, i just tried to access a protected variable fro mthe application class (Packaging.java) where the application class, superclass and subclass are part of a package (Animal). but i can access the...
  28. Replies
    8
    Views
    785

    Re: cant write my first package

    thanks for the tips dude

    i have finally got it to work

    i put the Mammal class and the Dog Class in a director called Animal. Animal directory is a sub-directory of testing.

    put in the code...
  29. Replies
    8
    Views
    785

    Re: cant write my first package

    thanks for the reply cornedbee

    isn't this the package declaration in the class Mammal



    package Mammal;


    should i repeat this in class dog
  30. Re: are variables also initialised in the constructor of the superclass?

    Thanks For The Replies
  31. Replies
    5
    Views
    725

    Re: can javap not reveal the whole program

    thanks for the reply

    so javap produces assembler not java code, correct?
  32. Replies
    8
    Views
    785

    cant write my first package

    Hello

    I am trying to write my first package program and i have two classes Mammal.java which is like this


    // Class Mammal
    package Mammal;
    public class Mammal {
    protected String color;
    ...
  33. Replies
    5
    Views
    725

    can javap not reveal the whole program

    Hello
    I have started coming to grips with java, and came across javap.

    I was wondering if javap does not reveal all the code written by the coder. and just anyone can using the byte code...
  34. Re: are variables also initialised in the constructor of the superclass?

    thanks for the replies

    so local variables to the superclass will be initialised in the constructor of the superclass, correct?
    what is lazy initialisation?
  35. are variables also initialised in the constructor of the superclass?

    Hello

    I was reading about the construction of constructors and this article says

    The first thing that happens inside the constructor is that the constructor of the class's superclass is...
  36. Replies
    2
    Views
    586

    Re: try catch question

    oh

    thanks for the reply
  37. Replies
    2
    Views
    586

    try catch question

    hello

    in the following code

    [code]
    try {

    //line 1
    //line 2
    //line 3
  38. Replies
    4
    Views
    515

    Re: java signature question

    pearls of wisdom, now i understand what a signature really is

    thanks cornedbee
  39. Replies
    10
    Views
    960

    Re: does a java class need a constuctor?

    thanks guys
    makes sense
  40. Replies
    4
    Views
    515

    Re: java signature question

    so the return type (string) & access is not part of the signature?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width