Yohan Shikari

Greenhorn
+ Follow
since Apr 01, 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 Yohan Shikari

Hi,

I have no idea about EJB.
So is Head First EJB the correct book for me.

thanks and regards
Yohan Shikari
18 years ago
Hi,

My project requires that I write code to download files from server to a client machine.

I have NO idea
If anyone has an idea, help me out

Post links or code

Thanks and regards
Yohan Shikari
18 years ago
Hi I want to design a discussion forum using JSP/Java
for concurrent multiuser access (NOT using Swing, AWT or applet)
Can someone please suggest some ideas / links where I can get some ideas on how to implement this.
Specifically the choice of data structures to use to store the data.
(The forum should be able to be accessed by upto 30 people concurrently)

Any help will be highly appreciated

Thanking You
Yohan Shikari
18 years ago
JSP
are static members of a class garbage collected?

If yes, when does it happen?

Pls explain as I am a bit confused on this.

Yohan Shikari
SCJP 1.4,
18 years ago
Wonderful news

Great news. You were great!

Yohan Shikari
SCJP 1.4
18 years ago
If you do not want any implementation you go for an interface.
If you want some implementation (i.e. non-abstract methods) go for abstract class. (Remember abstract class can contain non-abstract methods methods)
Example:

Consider a abtract class Vehicle which has subclasses Car, Boat, Airplane
Now certain methods which are specific to the subclasses e.g. the move() method will be implemented in the subclasses and declared abstract in the abstract class Vehicle.
Certain methods such as doVehicleRegistration is common to all subclasses. So they are implemented in the abstract class Vehicle.

If you had used interface Vehicle instead of abstract Class Vehicle then
you had to give implementations for doVehicleRegistration method in all the classes (Car, Boat, Airplane).

Regards
Yohan Shikari,
SCJP 1.4
public class AQuestion
{
public void method(Object o)
{
System.out.println("Object version");
}

public void method(String s)
{
System.out.println("String Version");
}

public static void main (String args[])
{
AQuestion question = new AQuestion();
question.method(null);
}

}

In the above code: the output is "String Version"
Why is it so?

Why NOT "Object version"

Pls explain
Why do I need to use Class.forName("driver_manager class") for loading driver in JDBC?

Why can't I create an instance of the driver_manager class using the new operator?
What is the difference between using Class.forName() method and instantiating using the new operator?
In what situation should we use Class.forName() method for instantiating an object.
18 years ago
Sonal,

When you have worked hard for getting the certification, I think it is your right to add your certifications in your email signatures.
That's what I think!

Yohan Shikari
SCJP 1.4
18 years ago
Congratulations Bala,

Hi I have just cleared SCJP. I want to write SCWCD. What is the best book for preparation? Is book necessary? Can't I clear using notes and mocktests?

Yohan Shikari (SCJP 93%)
18 years ago
Hey Baiju

Actually Not I am not really interested in SCJD immediately

Now I am preparing for SCWCD (Web Component Developer)

Maybe take SCJD later
18 years ago
Hi I have recently cleared SCJP 1.4. I scored 93%
Now I am preparing for SCWCD?
18 years ago