padmaratna kamble

Greenhorn
+ Follow
since Apr 26, 2006
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 padmaratna kamble

Dear Friends.

I have a dll which was developed in Visual Basic. If we use that in the VB code we can carry out certain methods.

My concern is: I want to use this dll in my java method. what all the methods that can be used in the VB should also be used in java method.

I know that this can be done using JNI, but please help me for getting starting, I am a bit new to this technology.

thanks so much.
14 years ago
Hi,
I want to know Abstract class has constructor but we can not initiate. why?
and why interface not have constructor?
please help me.
Thanks in advance.
14 years ago
I want to make program that run notpad.exe . after run notpade i want write
some in like "hello" can i persist state of that object.
please help me
Thanks in Advance
14 years ago
actualy I hava a application that written in c. Application provide solutions like disable ctrl+alt+del keys all other keys when we select check
boxes in application GUI . I want to use that program in java.
because i want to make a Cyber control application that need disable
ctrl+alt+del and swiching keys.
please help me
14 years ago
hello friends
please tell me
in a normal web application , container create single instance of servlet
. so tell me how may clients request it handle at a time when
thousands of request attack on the single instance for a single
resource
14 years ago
Hello friends..........
please tell me
how we can extends ActionServlet.
if yex give me example
if no
why
14 years ago
hi friends
help me
if i remove return statement from catch block it shows
fin valriable might not have been initialised.
otherwise compile easy.
also tell me what is the meaning of return , actually what it is doing there
help me friends



import java.io.*;

class ShowFile
{
public static void main(String args[]) throws IOException
{
int i;
FileInputStream fin;
String ss=args[0];

try
{
System.out.println("pravin");
fin=new FileInputStream(ss);
System.out.println("pravin2");

}

catch(FileNotFoundException e)
{
System.out.println("File Not Found");
return;
}
catch(ArrayIndexOutOfBoundsException e)
{
System.out.println("Usage: ShowFile file");
return;
}


do
{
System.out.println("pravin2");
i=fin.read();
if(i!=-1)
System.out.print((char)i);
}
while(i!=-1);
fin.close();


}

}
hi friends
pleaze tell me

what is the meaning of the return;

i know if we use return int; it return integer to the inclosing method
but im using return in the catch block , which is in the main method
please tell me what it return and for whom it will return

if i remove return from catch block , it shows error message like
fin variable might not have initialised
my code is as



import java.io.*;

class ShowFile
{
public static void main(String args[]) throws IOException
{
int i;
FileInputStream fin;
String ss=args[0];

try
{
System.out.println("pravin");
fin=new FileInputStream(ss);
System.out.println("pravin2");

}

catch(FileNotFoundException e)
{
System.out.println("File Not Found");
return;
}
catch(ArrayIndexOutOfBoundsException e)
{
System.out.println("Usage: ShowFile file");
return;
}


do
{
System.out.println("pravin2");
i=fin.read();
if(i!=-1)
System.out.print((char)i);
}
while(i!=-1);
fin.close();


}

}
hello friends
please tell me
how to select 2nd and 3rd row from any table
please give me query in detail
I mean what is the difference between object and instace of an object?
14 years ago
What is the difference between OBJECT and INSTANCE?
14 years ago
Is ActionForm is the part of the controller in the MVC Architecture?
And what are the total components of the Cotroller In an MVC Architecture?
14 years ago
hello friends......
please tell me.
Statement st=......
int i=st.executeUpdate("query");

what would we the return value of the i .
it is giving 0 value while i am using in my programm
hi friends .......
please tell me, in servlet we use HttpServletRequest to get
data Comming from clint. we use
request.getParameter();

and i know Container create object of HttpServletRequest, but how ?.
we know interface does not have method body , how containter know that this method is for to get request parameter from client
14 years ago
hello friends ........
please tell me we always use
List l=new ArrayList();
and Collection c=new ArrayList();

why we not always use

ArrayList a=new ArrayList();