Nirav Patel

Greenhorn
+ Follow
since May 27, 2005
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 Nirav Patel

Hi Roger,

I wonder if it's possible to use DBVisualizer to connect to Derby database.
I am trying to connect to derby embedded database used by maven reposiory- Artifactory (http://www.jfrog.org/)

- Nirav
Hi,
Correct ans: A,B,E,F

Check for the correct dimentions we can assign, means 2d -> 2d, 3d -> 3d, etc...in C & D, assignment is not compatible as dimentions are not same.

Hope this helps.

Regards.
Hi all,
I am having problem integrating RAD 6.0.1 with SCM product MKS (http://www.mks.com).
Option for IBM Rational Software Developer Platform 6.x in not available in the Enable/Disable Integration dialog of the MKS Integrity Client 2005!

Any idea?

Thanks.
17 years ago
Hi,
I am using Eclipse 3.2 and EMF 2.2(that includes JET).
As per the tutorial http://www.eclipse.org/articles/Article-JET/jet_tutorial1.html
Step 2. Convert the Project to a JET Project

I should be able to get the New > Other... > Java Emitter Templates > option, on clicking new Java project in package explorer, but I am not having any option like that..
Am i missing somthing?
Can any one know about this problem?

I just want to go through the above mentioned tutorial.

Any help would be appriciated.
Thanks.
Hello all,
I am developing a module of web application. I need to attach the source of j2ee.jar file (i think it means j2ee 1.3 version source, isn't it?).

Where can I find the source code of that? I think I can not use SunMicrosystem's J2EE 1.3 source code to debug this in WSAD...

So, I want to know from where I can download this source?

Thanking You,

Nirav
18 years ago
Hi,
The reason might be that we are not instantiating the Sub class, just referring the static member of the class, now all the static members are clubbed with the existing static init block and executed simulteneously. So here the calling of the static member triggered the remaining static statements in 'Super' class.

Since we are not touching the member of 'Sub' class, it's static block is not executed!

Pl do correct me if I am wrong.
Hi,
Also, It's good practice to start java class with Capital letter. Like "FirstServlet". Only package names should start with small letter.

Just a code convention; good practice
18 years ago
Hi,
Yes I am agree with Chandrakanth.

Whenever there's reference to the static field using object reference, the compiler user the class handle rather than object reference handle to refer it. So, in this clase since compiler has converted the code to "class handle", there woun't be any NullPointerException thrown.
Hi,
One option could be use Servlet ( which auto-loads as container starts ), and start registry from init method of it and register your service there!
18 years ago
Hi,
Hi,
You require intterface to be present on both the side (client, server), so check that you have that remote interface available on the client, plus the stub of the server (o/p from rmic)... Actually this is not required in new JDK (Java SE 5.0)....

Hope this will help.
18 years ago
Hi Devender,
Well, here in the code, the file is Question23.java and it contains public class Question23; so obviously the execution starts with 'that' class's main method, isn't it? Which is empty here!

Now if you make that subclass public and base class default and then execute; the main method of base class becomes hidden (shadowed!) by sub class main method. just try it!

It's overriding the static method by subclass static method. isn't it?
Hi,
I am confused about the output of the following code:

Output is:
In getValue
In cotr
i = 4, j = 4

Why the constructor statement is printed after the method call? How the method is called even before creating the object? (it's not the static method)
Any idea?
hi Group!
Again, some unexpected behavior....

What's the output?

Ans. It'll not compile. Anyone knows which char '000A' represents?