package scjp;
abstract interface Myinter {
static final int i = 5;
void fun();
}
public class interface2 implements Myinter{
static int i=7;
public void fun(){
System.out.println(i);
}
public static void main(String[] args){
Myinter m = new interface2();
m.fun();
System.out.println(m.i);
}...
public class example {
int i[] = {0};
public static void main(String args[]) {
int i[] = {1};
change_i(i);
System.out.println(i[0]);
}
public static void change_i(int i[]) {
int j[] = {2};
i = j;
}
}
when I run this program I get 1 .but my question...
public class example {
int i[] = {0};
public static void main(String args[]) {
int i[] = {1};
change_i(i);
System.out.println(i[0]);
}
public static void change_i(int i[]) {
i[0] = 2;
i[0] *= 2;
}
}
Can anyone tell how the scope of the array int...
Hi All,
I new to java .I was going through java certification questions in javaprepare.com.
1.What all gets printed on the standard output when the class below is compiled and executed by entering "java test lets see what happens". Select the two correct answers.
public class test {...
Hi all,
Can anyone tell me a place where I can find out some good examples(like library management system or employee maintenance system) written in vb.net.I am looking for a small project for learning purpose.
Thanks alot
NK
Can anyone give me code to populate a combobox using dataset and sqldataadapter.I want to create the dataset and dataadapter through program not through the wizard.
Thanks alot
Deva
Hi All,
Please help me to find the right path.I have 1o years of experience on software development on IBM AS/400 platform.I know visual basic6.0(intermediate), Sql server 2000 and ASP( beginner). I am trying to find out the right certification for me.I like to be a developer.First of...
Hi All,
I am a beginner.I am just attaching the code.I do not know the exact problem.It gives an error message while running.
The error is
Run_time error '7004'
The rowset is not bookmarkable.
I am attaching the code.
Dim Currinv_Rec As New ADODB.Recordset
Private Sub Form_Load()...
Hi All,
I am just attaching the code.I do not know the exact problem.It gives an error message while running.
The error is
Run_time error '7004'
The rowset is not bookmarkable.
I am attaching the code.
Dim Currinv_Rec As New ADODB.Recordset
Private Sub Form_Load()
Set Currinv_Rec...
Hi,
I have a form and a few controls on it.Some controls are on the top of the form.When I take it design mode or run time I see only a portion of the control.
1.Why this is happening? How can I see complete control?
2.How do I take the form to Form layout window in order to see where it...
Hi All,
What is the best way to write Database application using VB 6.0. Using wizard(application and Data form) to create the skelton and modify that or start from the scratch.
Sorry, if it is stupid question? I am learning VB myself and I am beginner.So I am trying to get some...
Hi All,
I am learning Visual Basic 6.0.I do have problem with understanding the Class concept in visual Basic.Can anyone suggest a good book or web site where I can get the information with some simple examples.
Thanks in advance for your help
Deva
Hi All,
In the SQL server machine the hard disk(C) memory is reducing everyday.I have 2 partions (C and D).C has the SQL Server instances and D has all the Databases and Backup.I have daily scheduled jobs running.I have purge programs that is running every night and purging the DTS...
Hi all,
This is something stange .Hope someone can help with some idea.
I have ETL process running on SQL server 2000.This captures data from AS/400 server and load in to SQL server and after making some modifications , loading back to AS/400.This process was working...
Hi all,
Please help me to find out what am I doing worng.
I have 2 tables
testvw1 ===> empid 4,0
empname 10
empdesc 10
testvw2 ===> empid 4,0
empage 4,0
message 10
I am trying to create a view based on these 2 tables.My...
Hi all,
Thank You very much for the reply.
Can anyone tell how can I install into a different directory.When I try to install it is not asking any directory.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.