Search:

Type: Posts; User: veens

Search: Search took 0.13 seconds.

  1. Replies
    3
    Views
    348

    Re: code explaination

    bcz u r comparing two arrays addresses ,that is why it is giving false.
    and second one it is printng the address of Array a.
  2. clarify the doubt about accesing instance variable and local variable

    if we use instance variable(without initialization or assigning any value) compiler won't give any error,but in case of local variable compiler gives error,

    i know that instance variables...
  3. Replies
    7
    Views
    711

    Re: how to check null

    some times == can't work(like string objects) that's why i wanted to know any other way...
  4. Replies
    4
    Views
    457

    Re: Why cant I use toString() with vector?

    Your program has some error i.e

    nextInt() is not a static method.we cant call it directly with class name .
    Try It.
    Random r=new Random();
    Vector<String> v = new Vector<String>(10, 5);...
  5. Replies
    4
    Views
    426

    Re: Java Calculation Incorrect

    it is correct output only
  6. Replies
    7
    Views
    711

    how to check null

    Hi,

    Is there any other way to check null in string,without using == operator
  7. Replies
    4
    Views
    2,145

    Re: executeUpdate Problem

    You are using a wrong package beans;use java.sql.*;
    remove import java.beans.Sta.... line.
    it will works
Results 1 to 7 of 7