Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
override
- Page 1
Re: Top industries that use automation
Programming
Software Development
2 Months Ago
by Reverend Jim
… using that as a starting point where you can manually
override
the route is advisory. A strictly shortest/fastest route may…
Re: Upgrade to Fiber internet
Hardware and Software
Networking
2 Months Ago
by rproffitt
… me to their Massachusetts offices. No one at ATT could
override
that or forward me to the right office. OK, find…
@override?
Programming
Software Development
17 Years Ago
by George2
Hello everyone, I am using JDK 1.4 and there is a compiling a 3rd party program error because of un-recognized word @
override
. Could anyone let me know what is the function of @
override
and in order to use it, which version of JDK is required? thanks in advance, George
Re: @override?
Programming
Software Development
17 Years Ago
by George2
Thanks TheGathering, [QUOTE=TheGathering;409791]Google returned: [url]http://java.sun.com/j2se/1.5.0/docs/api/java/lang/
Override
.html[/url][/QUOTE] The reference is very informative. Do you have any samples of how to use @
override
? regards, George
Re: @override?
Programming
Software Development
17 Years Ago
by TheGathering
Google returned: [url]http://java.sun.com/j2se/1.5.0/docs/api/java/lang/
Override
.html[/url]
Re: @override?
Programming
Software Development
17 Years Ago
by George2
Hi ~s.o.s~, [QUOTE=~s.o.s~;409817]Those are called annotations and are supported from Java 1.5 and up. Hence the error.[/QUOTE] I can not find any samples of how to use @
override
. Do you know where to find? regards, George
Re: @override?
Programming
Software Development
17 Years Ago
by TheGathering
[QUOTE=George2;410165]Thanks TheGathering, The reference is very informative. Do you have any samples of how to use @
override
? regards, George[/QUOTE] Google returned: [url]http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html[/url]
Override CompareTo() method
Programming
Software Development
13 Years Ago
by nickliutw
… false; } //hashCode() - same hash code for equal objects @
Override
public int hashCode() { return ((Integer)feet).hashCode()+inches; } //… { return 0; } else { return -1; } } else return -1; } @
Override
public String toString() { return String.format("%d' %d\"…
Re: Override CompareTo() method
Programming
Software Development
13 Years Ago
by nickliutw
…result; } //compareTo() - compares two distance objects ( <, >, == ) @
Override
/*public int compareTo(Object obj) { //Distance k = new Distance(); //Distance… ) { return 0; } else { return -1; } } else return -1; } @
Override
public String toString() { return String.format("%d' %d\"…
Re: Override CompareTo() method
Programming
Software Development
13 Years Ago
by ~s.o.s~
… most hashCode() implementations of the standard library. Something like:[code] @
Override
public int hashCode() { int prime = 31, result = 1; result = prime…
Override a virtual const function with a non-const function?
Programming
Software Development
15 Years Ago
by daviddoria
… up the inheritance hierarchy that I need to
override
, but I would like to
override
it with a non-const function. I…
Override a superclass's methods with a subclass
Programming
Software Development
14 Years Ago
by zach&kody
How do you
override
a superclass's methods with a subclass? These are my … second being the subclass of which I am attempting to
override
the superclass's methods. [CODE]// This class represents a walker…
Override _top target
Programming
Web Development
18 Years Ago
by faramin
Hello, Is it possible to
override
_top target? I need to keep all the pages in a frame and I don't have access to some pages that use _top target in their links and they get out of the frame. Thank you, Ramin
Override _Top Target
Digital Media
UI / UX Design
18 Years Ago
by faramin
Hello, Is it possible to
override
_top target? I need to keep all the pages in a frame and I don't have access to some pages that use _top target in their links and they get out of the frame. Thank you, Ramin
Override browser set font size in IE
Digital Media
UI / UX Design
16 Years Ago
by cmills83
Is there a way to
override
the IE user set font size. Basically when I user increases the font size in the IE preferences. Would !important; on the font css tag fix this? Thanks!
override automatic trim of request object
Programming
Web Development
15 Years Ago
by jimib
… "bet". Does anyone have any idea how to
override
this behavior?
Override '++' with an iterator?
Programming
Software Development
15 Years Ago
by .:Pudge:.
I don't know how to properly
override
this function when it comes to an Iterator for a …
Override XmlWebApplicationContext
Programming
Web Development
15 Years Ago
by bayo_84
Hi .. I try to
override
the XmlWebApplicationsContext and I dont know how to register my …
override validation events?
Programming
Software Development
14 Years Ago
by patr1c1a
… fill in the required fields. Is there a way to
override
the validation events when one of these buttons is pressed…
override CSS element settings
Digital Media
UI / UX Design
13 Years Ago
by Buppy
…] What i want is to the second CSS (class) setting
override
the first (id) one. The thing is that the class…
Override Unit Delay block outptut
Programming
Software Development
13 Years Ago
by shouvik.d
… test generation is becoming complex. Is there a way to
override
the Unit Delay block output without changing the model (as…
Re: Why @Override
Programming
Software Development
14 Years Ago
by ~s.o.s~
@
Override
ensures that you don't end up *supposedly* overriding a … time errors. Contrast it with this piece of code: [code] @
Override
public String toSTring() { // something }[/code] The above piece of code… now be caught at compile time. Much better. Simply put, @
Override
just makes your intents much more clear to the compiler…
Re: What is @Override?
Programming
Software Development
9 Years Ago
by stultuske
… public boolean equals(Object o){ // } implementation. By adding that annotation: @
Override
public boolean equals(MyObject o){ // } when trying to compile the… he can not find the specified method in a superclass. @
Override
public boolean equals(Object o){ // . } this however would compile and…
Re: @override?
Programming
Software Development
17 Years Ago
by ~s.o.s~
Those are called annotations and are supported from Java 1.5 and up. Hence the error.
Why do I have to Override?
Programming
Web Development
15 Years Ago
by fiaolle
… trouble understanding, when I have to
override
and why I have to
override
. I'm using a WebUserControl I …OnPreRender' cannot be declared 'Overrides' because it does not
override
a sub in a base class.[/QUOTE] And when I… an overridable method in the base class 'Control'. To
override
the base method, this method must be declared 'Overrides'[/…
using @Override sign
Programming
Software Development
16 Years Ago
by janamrob
…gender = 'M'; // the default is M for Male } @
Override
public void makeSound() { System.out.print(name+" Oooops &…quot;); } @
Override
public void getOlder(int years) { age += years; } @
Override
public void eat() { System.out…
Why @Override
Programming
Software Development
14 Years Ago
by TahoeSands
…vague idea of why someone would want to
override
a method that is inherited from the superclass,… but I haven't needed to
override
any inherited method thus far in my career,…(); private Timer swingTimer = new Timer(20, new ActionListener() { @
Override
public void actionPerformed(ActionEvent e) { xa++; if (xa >…
Re: using @Override sign
Programming
Software Development
16 Years Ago
by destin
… good programming practice. If you incorrectly attempt to
override
a superclass's method without the annotation, your…method [icode]equals(Test)[/icode]. Without the [icode]@
Override
[/icode] annotation, this code will happily compile and never…compile-time error saying, "method does not
override
or implement a method from a supertype." Much…
Re: Why do I have to Override?
Programming
Web Development
15 Years Ago
by kvprajapati
…;I have trouble understanding, when I have to
override
and why I have to
override
.[/b] [QUOTE]From the [URL="http… may replace these unwanted base class methods by using this (
override
) mechanism.
virtual/new/override
Programming
Software Development
15 Years Ago
by agent154
… as virtual, then the inheriting class has the choice to
override
that method if it so desires. What I also read… is that if you want to
override
said method, you need to add the [B]
override
[/B] keyword to the method line… will function the same exact way whether I add [B]
override
[/B] [B]new[/B] or I don't add it…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC