- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
student
19 Posted Topics
hello friends i m larning core java.i want some write code of some program by in which i can use the concept of opertors,inhertance so plz me assignment so that i can do practic. | |
my program is compiled.but on run that i have message "Exception in thread "main" java.lang.NullPointer Exception" 1. class Rev 2. { 3. char a[]; 4. char i=3; 5. void str() 6. { 7. for(i='A';i<'D';i++) 8. { 9. a[i]='i'; 10. } 11. } 12. void show() 13. { 14. for(int i='A';i<'D';i++) … | |
Re: I don't know the that we can kill process in myaql or not,but it will be batter that u kill or sleep or close process(or connetion) by u r frunt hand aplication what ever u r using like java,c,c++,php etc. [quote=pooranjaiswal;449681]hi, i want to kill all the sleep process in … | |
I m working with applets.but i got struck.I want to explorer directorys and file in Brouser (just like as we open my computer by right click explorer). but i m finding problem in that which java class and method i should use.As when we work without applet it's is simple … | |
Re: I don't know y u r gating warning but as I see u code there is no problem.u just try to use an alternativ way for this try to use $query="select count(*) from auth" ."where name='$userid'" ."and pass=password('$password')"; while ($row = mysql_fetch_array($result, MYSQL_NUM)) { printf("UserID: %s Password: %s", $row[0], $row[1]); … | |
hello friends, I am working with stored procedure in my sql.I m traying to call SP in php but i fail to do that. I have already configer mysqli.dll file in php. but still i m gating error :[B]Fatal error[/B]: Call to undefined function mysqli_connect() in [B]C:\Employees\Ajay\SP\test.php[/B] on line [B]4 … | |
I want help. [B]what i do[/B]:I creat three pages 1. login.php, 2. welcome.php, 3.change password.php. when we login(right Id & P/W) welcome.php will open,On that page i have put two option i. Logout, ii.change password.,[U]on clicking on Logout we will logout to enter again we have to enter password.As session … | |
Re: I can use header function. [code] header('Location: [URL]http://www.example.com/'[/URL]) [/code] for more information see [URL="http://www.w3schools.com/php/func_http_header.asp"]this[/URL] | |
hello friends i have write a code(j2me) for mobile game my code is build but on run i got error message: Unable to create MIDlet Jeep.java java.lang.ClassNotFoundException: Jeep/java at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) Execution completed. 3610981 bytecodes executed 7309 thread switches 1647 classes in the system (including system classes) 18046 dynamic … | |
dire friends i write code in applet for scrole text left to right.now i want same thing in verical direction n cover full length of screen.so what i should do it | |
dear friends i set path for jdk1.6.0 and that is working.now i have instole j2me but my j2me code is not working,on run import file cannot find by compailer .so plz tell me is there any need of seting path and if it is than how i can set that. | |
i have make one package(c:\program files\java\jdk1.6.0\bin\MyPack) and save file as AccountBalance.java this file has two classes.see below. package MyPack; class Balance { String name; double bal; Balance(String n,double b) { name=n; bal=b; } void show() { if(bal<0) System.out.print("-->"); System.out.print(name+":$"+bal); } } class AccountBalance { public static void main(String args[]) { … | |
Re: try this code.i have change few thing in u r code int min=0,second=0; if(a[0]<a[1]) { min=a[0]; second=a[1]; } else { min=a[1]; second=a[0]; } for(int i=2;i<9;i++) { if(a[i]<=min) { second=min; min=a[i]; } else { if(a[i]<second) second=a[i]; } } System.out.println("the second smallest nubmer is "+second); [quote=pavani2006;340358]i want to find the second smallest … | |
i m using window xp and jdk1.6.0. i set environment variables as follow user variables i creat new and in variable name "classpath" and in variable value .;C:\Program Files\Java\jdk1.6.0\bin;.;C:\World after that i edit system variable as follow i edit variable "path" in variable value I append "C:\Program Files\Java\jdk1.6.0\bin" right side … | |
hello friends i m new in linux i don't now how to use linux n instole it.then aslo i have instole it's so i can't make partition proprely.so i want to instole it again i have one partition of 8 gb in which i have instole linus plz tell me … | |
i have some dobut i will be oblise if u will help me my doubt is that can we make one class into another class n if it is posible than happend in folling case. 1 if i have nested calss then can i call method of iner most calss … | |
hello friend i want to make java program to slove trigomeric eq but i dont know how to stare as i m new in java i don't 9 how trigomeric eq can slove bye java can u tell me how i should thikg logicaly i need u r logical help … | |
Re: hello friend i have also many problems in programs but never think about spoon feeding.n people help me as they can so u should also try by u r on.u will be helped | |
[code=java] class Rev { char a[]; char i=3; void str() { for(i='A';i<'D';i++) { a[i]='i'; } } void show() { for(int i='A';i<'D';i++) { System.out.print(a[i]); } } Void reversStr() { for(i='A';i<'D';i++) { System.out.print(a[i]); } } } class Revers { public static void main(String[] args) { Rev a1=new Rev(); a1.str(); a1.show(); a1.reversStr(); } … ![]() |
The End.