ppavya india

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

Recent posts by ppavya india

Hi all,
I am new to servlet technology, I have created one table in SQL as "users" with column name as login, password, username and I have already added 5 records, I have also a html page where I have only two fields i.e. login and password. What I want to do, to ask user to put input as login and password and if the user enters same user name and password which I have already created in users table, then user'll get complete username, if he enters wrong input then he'll get an error message.
How to create servlet for these things. Any help would be appreciated
Thanx in advance
20 years ago
Thanx, thanx a lot.
20 years ago
Hi Danesh,
Could u please do one thing, define a class file and tell me which are the class variables and which are the instance variables. Waiting for ur reply.

Thanx
20 years ago
Hi all,
I am new to Java tech., please explain me the difference between Instance variables and Class variables with appropriate example.

Thanx in advance
20 years ago
Hi all,
I am new to Java Tech., please explain me the concept of Serialization in Java.

Thanx in advance
20 years ago
Hi all,
Can anyone explain me what is the difference between procedural programming and Object-Oriented programming. If possible tell me the good link where I can see these two things.
Any help would be appreciated.

Thanx in advance
Thanx Mani, thanx a lot and looking for your help in future also.
20 years ago
Hi all,
I have one small query, what is the difference between following two statments:

1. ArrayList mydata = new ArrayList();

2. Collection mydata= new ArrayList();

Any help would be appreciated.

Thanx in advance.
20 years ago
Hi all,
I am new to java technology. Could anyone explain me the concept of contructor, its use, with appropriate example.
Thanx in advance.
20 years ago
Thanx Svend, thanx a lot. And looking for your help in future also.

Thanx again.
20 years ago
Hi Svend,
You are right, other people would also get a chance to learn from the
questions/answer..
Well, my next query is that, I am new to java, I want to be a professional in java programming, tell me what should be my first step. I have searched on google for java tutorials, I got too many. But I am confused which tutorial I should start. Svend could you please tell me the, from your point of view which is the best site for java tutorial that provides very good materials right from basics to advanced java programming.

Thanx in advance, Svend I am waiting for your reply.
20 years ago
Hi Svend Rost,
You have given really good explaination about all my queries (basic concepts). Thanx man, thanx a lot. Svend I have one request, could you please give me your personal e-mail id as you have provided really good explaination, and I need your help for next 6(minimum) months as I have just started Java one month before.
Waiting for your reply.
Thanx in advance.
20 years ago
Hi all,
I need some help in the program given below.This program contents some constructor basics, but I haven't understood two method and some statements, could you please explain me what are they.I have marked those methods and statements with comments as //didn't get******************
Any help would be appreciated.
Thanx in advance
class box
{
int l,b,h;
box(int i)
{
l=b=h=i;
}
box(int l, int b, int h)
{
this.l=l;
this.b=b;
this.h=h;
}
box (box b)//didn't get****************************************
{
this.l=b.l;
this.b=b.b;
this.h=b.h;
}

public void volume()
{
System.out.println(l*b*h);
}
public static box clone(box b)//didn't get********************
{
return new box (b.l,b.b,b.h);//didn't get***********************
}
}
class test
{
public static void main(String ab[])
{
box b2,b3,b4,b5;
b2=new box(10);
b3=new box(10,20,30);
b2.volume();
b3.volume();
System.out.println("After creating a clone");
//b4=box.clone (b2); //didn't get************************
//or
b4=new box(b2);
b4.volume();
//b5=box.clone(b3);//didn't get***************************
//or
b5=new box(b3);
b5.volume();
}
}
20 years ago
Hi folks,
I am new to java, can someone explain me the the diff. between instance methods and class methods, if possible explain me with the help of one example.

Thanx in advance.
20 years ago