Help coderanch get a
new server
by contributing to the fundraiser

Manoj Chandran

Greenhorn
+ Follow
since Jan 26, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Manoj Chandran

It doesnt give any exception.
Just that if I hardcode the merge and dest dirs it generates the files properly.
15 years ago
The below ant task in build.xml is failing to generate web.xml and struts.xml to the corresponding dir.
Please help with fixing this issue.


15 years ago
Hi,

For my current project an HQL is taking over 8 min to excute.
Is there some way to optimize this query and bring the execution time down?
the hql is like as shown below:

Thanx for reply.But then the object of which class does getConnection method return?
How does the getConnection(....) method of DriverManager class return a Connection object?Connection is an interface and you cannot create object of an interface.Ditto for Statement and ResultSet..Plz explain
Can any one plz explain the use of intern method in String?
plz provide an example.
thanx,
manoj chnadran
Friends,
Is it possible to create .exe files in Java.Does the jdk1.4 has a provision for it?If so does exe format affect the platform indepedency of java and how?Plz help me immediately,
thanx in advance,
Manoj Chandran
22 years ago
Rik,
Your question is not clear.As far as what u asked it is not possible to convert a BufferedReader variable into int bcoz first one is an object and second one is a primitive type and ia not compatible.
But if u want to perform swtich depending on the characters read from the stream the you can safely use the read() method which returns an int representation of the next available character in the stream...
manoj chandran,
Software Engg,SSi
22 years ago
Friends,
Can any one explain to me in which language is the java complier and virtual machine written?
thamx,
manoj chandran
22 years ago
Hi Anshuman,
Can u plz differentiate between daemon n non daemon threads?
Manoj
Micheal,
Can u elaborate on the issue?
23 years ago
Anshuman,
Protected members(variables as well as methods) are accessible within the class in which they are defined and their subclasses.Yes any class which doesn't extend from any oyther class implicitly extends from Object class.Hence anyhow your class inherits the finalize() method of Object class.So their is nothing to worry about packages while dealing with Object class's resources!! ok?
Manoj Chandran
Hai Sahir,
Thanks for your valuable suggestions.Hope to get a lot more in future..
Manoj
Hello,
Is Java 100% object oriented?what about VB?
Thanks in advance,
Manoj
23 years ago
Hello,
look at this code:
class A{
public static void main(String s[]){
System.out.println("Hello");
}
}
My question is how many threads run concurrently(including JVM and gc)while executing the above code?
Plz give an elaborate reply..
Thanking in advance..,
Manoj