
Hi friend if you have any idea about this statement please tel me...
String qry1="select * from custentry1 where custid='"+custno+"'";

It is the sql query that will retrieve the record from the custentry1 table of database whose custid matches with your given id.

class Point{
int x, y;
Point(){
System.out.println("default");
}
Point(int x, int y){
this.x = x;
this.y = y;
}
// A Point instance is explicitly created at class initialization time:
static Point origin = new Point(0,0);
public String toString(){
return"(" + x + "," + y + ")";
}
}
public class TestExampple {
public static void main(String[] args){
// A Point is explicitly created using newInstance:
Point point = null;
try {
point = (Point)Class.forName("Point").newInstance();
}
catch(Exception e){
System.out.println(e);
}
Point a[] = { new Point(0,0), new Point(1,1)};
System.out.println("point: " + point);
System.out.println("a: { " + a[0] + ", " + a[1] + " }");
String sa[] = new String[2];
sa[0] = "Rose"; sa[1] = "India";
System.out.println("Welcome to "+sa[0] + sa[1]);
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.