I imported an image named symbol.jpg to my package and i can't figure out how to use it. I tried using Image img = new Image(new File("symbol.jpg"); but that...
hi all friends i'm new in java EE i want to have some exemple for java EE and docs about it if u can to hellp me send me a site web where can i downlod it thx...
I'm a senior in high school and I chose to do programming as my topic for my senior capstone. For my project I plan to create a simple application using java...
... what path should I set the image to if it is imported into the package, how do i do that? ... here is the code i am using to show the image Image img; ...
Hi bosses, I am new on java. I want to connect java with mysql, for the reason I install jdk6, jre6, mysql, Jcreator and also Netbeans 6.5. I copy the mysql...
Hello there, What IDE exactly did you use ?, if you are using Netbeans, you need to add mysql connector into your project library first. Here a simple code, I...
Hi, I sharing sample code to you. Try it... class DatabaseConn{ Connection conn = null; Statement stmt = null; ResultSet rs = null; public void query(){ try { ...
pavan.venkatt
pavan456@...
Mar 4, 2009 7:38 pm
31833
Indeed, java.sun.com has tons of useful stuff. http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/ Personally I found this...
Dear Friends, I want to build a web site but my biggest problem is that it doesn't open quickly. I mean it is not like yahoo or google that when you open type...
Hi, The language the site uses is only one factor. Actually, it is one of the last you should worry regarding speed. You can have high speed websites using...
ALL MEMBERS WELLCOME ALL MEMBERS, I AM NEW MEMBER OF YOUR GROUP AND JOINED TODAY, HOPE THAT WE ALL WILL BE HELP TO EACH OTHER WITH OPEN HEART. THANK YOU. ANWAR...
Hi, Srikanth. ... Well, that's the kind of thing you can find at the first result on Google. Nevertheless, I'll try to give you a quick answer. A x = new B(); ...
Hi, Chooti. ... Well, good question. Let's see what's going on: when you do Covtest t = new SubCovtest(); You have a reference of type Covtest and an object...
Dear Rodrigo, Here i'm inserting one method in both classes A and B. That is display(), which will show x value. As per you Its not showing 5, instead its...
An instance is simply an "example", an "specimen" of a class. When you create an object, that object is an instance (an example, an specimen) of that class. ...
Hi, sreekanth. On Tue, Mar 17, 2009 at 02:33, sreekanth gundagoni ... That's because of method overriding. The original code and your modified code has similar...
hi shrikant, diff bet object anf the REference is that object are created on heap and where all instabce variable/method are present and reference hold the...
Hi, since you are calling the 'display()' method, 'Dynamic Method Binding' applies here and the display of class B is called. Now in class B, the variable x...
Fascinating problem. This is my take on Rodrigo's example. class A { int x=5; public void display() { System.out.println( "x value from class A : " + x); } } ...
Because for variable x it uses the type of the reference, A. For the overridden method, as someone said, it is a dynamic binding, where the method called is...