vijayk kumar

Greenhorn
+ Follow
since Jul 29, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vijayk kumar

hi friends,

problem:
at the time of retrieving records in excel sheet i am getting null values for the alpha numeric values in the excel sheet
example:
one of the field in excel sheet is "n38w"
while printing on the console null value appearing in the place of this field .
connection = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=" + fileName);


String query="Select [stock_no],[shape],[size],[color],[clarity],[rap-price],[ttl rap price],[whlrapdiscount],[ttlwhsl price],[retailrap discount],[retail price],[ttl retail price],[cert],[depth],[table],[girdle],[culet],[polish],[sym],[fluor],[crown],[pavil],[meas],[comment],[stones],[certno],[rapcode] from[Fortune Inv$]";
//[whlsprice],,, from[Fortune Inv$]";

System.out.println(rs.getString(1)); Here null value is getting
Does a final variable initialized in overloaded constructors differently.
Then what about the necessity of intializing a variable at the declartion?
17 years ago
Thanks Keith!
Please see my posting on Exception
17 years ago
what is the difference between converting an primitive data type integer to a string object?
int i=10;
String s1=Integer.parseInt(i) and
String s2=i+" ";
17 years ago
Thanks James!
Please see my next posting.
17 years ago
Why an Exception Object's constructor is called when I invoke an
ExceptionObject.toString() eventhough I have not defined toString() method?
17 years ago
What is the purpose of declaring a Vector as final as,
final Vector v= new Vector(1);
17 years ago
Thanks, I am now clear!
17 years ago
Hi All,

Can we overload a main() method?
When the compiler issues an error message " two entry points defined?"
17 years ago
Let me clear the topic
The question is exactly the same.
I said all the primitive data types .
( But class is also an abstract data type or a user defined datatype
I think interface is also a type )
Then the interviewer posed this question.
So let me know now the concept behind this question.

Thanks

17 years ago
Hi All,

Recently I faced this question " How many type definitions are there in java?"

I have an answer like interface,class,primitive datatypes.
Am I correct?
17 years ago
ThankYou,
I am clear now!
17 years ago
Yes , I get it .Now I will try with an example.
17 years ago
Can the object refernce be used to access a private member?
If so in what situations?
17 years ago
Dear Members,

Is it true that an object can be created in two ways.
one is by new() and another by deserialization.
What is the exact differnce between these two?
17 years ago