14 Solved Topics
Remove Filter
|
|
I have a link in my web page: <div class="site-logo"> <h1 class="site-title"> <a href="http://10.0.0.201/wp/" title="Document & Draft" rel="home">Document & Draft</a> </h1> <h2 class="site-description">For power CAD users</h2> </div> The "site-logo" class is as follows: .site-logo{ display: block; text-align: left; color: #9FA32E; font-family: "Trebuchet MS",Arial,Helvetica,Sans-Serif; font-size: 42px; text-decoration: none; } I'm expecting … |
|
hmm, think I figured it out |
|
Hi, I am having a problem overriding methods in a subclass when they contain private methods from the master class. The is the master: package blabla; public class Person { private String firstName; private String secondName; private String familyName; public Person() { firstName = ""; secondName = ""; familyName = … |
|
Hey guys I'm having a bit of touble assigning the toString to a string from an index of an array list, any help would be appreciated. @Override public String indentedToString(int level) { String answer = " "; answer = super.indentedToString(level); answer += "Value " + this.list.toString() + "\n"; for(int i … |
|
Lets say I have a class A and I also have classes B and C that inherit from class A class A { virtual void foo()=0; //stuff } class B : class A { void foo(); //more specific stuff } class C : class A { void foo(); //more specific … |
|
General rules is that: 1) A private method cannot be overridden. 2) Subclass method should be a lower access modifier than a overridden superclass method. But the output of the program is "I am Son". Why? Is it because of the rule 2 the output comes? If that's the case … |
|
Hey all, I have been wanting to make a cool game in jave such as a fighting game starting off simple with drwing stick figures :). But i was wondering why there are so many java games created in Japplet why not use swing- i know there are games out … |
|
Hey, following Problem: I have two classes Measurement and its subclass DC_Measurement. Measurement has a method called: [CODE]public virtual SetPoint[,] createSetPointArray()[/CODE] DC_Measurement: [CODE]public override DCSetPoint[,] createSetPointArray()[/CODE] DCSetPoint is also a subclass of SetPoint. I read that this is possible. Now I use in my mainWindow following code which contains an … |
|
hello..i've made a structure given below and the objects of that struct are stored in an arraylist [code] struct node { public int x; public int y; public int cost; public object parent; } [/code] now when i'm adding a new object this type..i want to check if the arraylist … |
|
Hi :) i am new in C# and i am a little confused with the abstruct, virtual and override terms in C#... why they are good for? i tried to google it but i got more confused... for example - i am making a chess program and i made a … |
|
In class my teacher ran a program similar to this one. When I attempt to run this from home I get a message saying "No main classes found". I know there should be a main in the program but he ran a similar program without it. Just trying to get … |
|
[code] public class Animal { public void eat() { System.out.println("I eat like a generic Animal."); } public static void main(String[] args) { } } class Fish extends Animal { @Override public void eat() { System.out.println("I eat like a fish!"); } } class Goldfish extends Fish { @Override public void eat() … |
|
Hi, Please help me tod this.. how can i change Overriding The Default Text color in IE browser? I can change in ff, and Safari. but Not in this.. help me. thanks in advance. jack. |
|
Hi everyone My intention is to enable NTLM authentification when using the native PHP SOAP client, Most of the code is copied from an php.net manual example and it is said to be working. I'm trying to override the __doRequest function in the SoapClient class and let it use cURL. … |
The End.