Click here to Skip to main content
15,889,315 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: reference type vs. primitive type Pin
twseitex13-Mar-14 9:43
twseitex13-Mar-14 9:43 
QuestionBandwidth throttling with Java-script Pin
Member 106426994-Mar-14 5:44
Member 106426994-Mar-14 5:44 
AnswerRe: Bandwidth throttling with Java-script Pin
twseitex13-Mar-14 9:50
twseitex13-Mar-14 9:50 
QuestionCross browser compatibility Pin
Mary Abraham27-Feb-14 15:05
Mary Abraham27-Feb-14 15:05 
AnswerRe: Cross browser compatibility Pin
Peter Leow27-Feb-14 15:57
professionalPeter Leow27-Feb-14 15:57 
GeneralRe: Cross browser compatibility Pin
Mary Abraham27-Feb-14 16:46
Mary Abraham27-Feb-14 16:46 
AnswerRe: Cross browser compatibility Pin
Jellali Tarek7-Mar-14 4:42
Jellali Tarek7-Mar-14 4:42 
QuestionSimple computing machine Pin
Member 1062982927-Feb-14 2:07
Member 1062982927-Feb-14 2:07 
Create a super class ComputingMachine. This class should be designed as parent class of any kinds of computing devices like calculators, timers, mobile phones, etc. Computing machines’ basic attributes includes its manufacturer’s name, product code and classification. You may wish to add more attributes. Along with all the basic methods (constructor, accessor, mutator, output, comparison, and other helper methods), define a method compute() which has nothing to do yet. This method will be overridden in future subclasses.

Extend the ComputingMachine class to two subclasses, Calculator and Timer. Add the necessary attributes and methods for them. These subclasses must implement the BasicOp interface which you must create. The BasicOp interface will require the implementation of methods plus(), minus(), times(), and divideby(). If any one of these methods are not applicable to the class which implements it, the class must be able to handle it.

In the demo class, calculator object must be able to continuously perform the BasicOp methods for two operands until the method compute is invoked, behaving like a simple calculator of the real world.

Timer object in its own demo class, must perform as a countdown timer or a usual lapse timer depending on the users choice.
roni

SuggestionRe: Simple computing machine Pin
thatraja27-Feb-14 3:11
professionalthatraja27-Feb-14 3:11 
QuestionRe: Simple computing machine Pin
ZurdoDev27-Feb-14 4:04
professionalZurdoDev27-Feb-14 4:04 
AnswerRe: Simple computing machine Pin
Member 1062982927-Feb-14 13:23
Member 1062982927-Feb-14 13:23 
QuestionRe: Simple computing machine Pin
ZurdoDev27-Feb-14 13:38
professionalZurdoDev27-Feb-14 13:38 
QuestionRe: Simple computing machine Pin
Richard MacCutchan27-Feb-14 22:20
mveRichard MacCutchan27-Feb-14 22:20 
QuestionProblem using onbeforeunload in JQuery or Javascript Pin
Vimalsoft(Pty) Ltd26-Feb-14 3:14
professionalVimalsoft(Pty) Ltd26-Feb-14 3:14 
SuggestionOff-Topic Pin
Nicholas Marty26-Feb-14 4:00
professionalNicholas Marty26-Feb-14 4:00 
GeneralRe: Off-Topic Pin
Vimalsoft(Pty) Ltd26-Feb-14 4:51
professionalVimalsoft(Pty) Ltd26-Feb-14 4:51 
GeneralRe: Off-Topic Pin
ZurdoDev26-Feb-14 4:53
professionalZurdoDev26-Feb-14 4:53 
AnswerRe: Problem using onbeforeunload in JQuery or Javascript Pin
Kornfeld Eliyahu Peter26-Feb-14 4:34
professionalKornfeld Eliyahu Peter26-Feb-14 4:34 
GeneralRe: Problem using onbeforeunload in JQuery or Javascript Pin
Vimalsoft(Pty) Ltd26-Feb-14 4:58
professionalVimalsoft(Pty) Ltd26-Feb-14 4:58 
AnswerRe: Problem using onbeforeunload in JQuery or Javascript Pin
ZurdoDev26-Feb-14 4:54
professionalZurdoDev26-Feb-14 4:54 
AnswerRe: Problem using onbeforeunload in JQuery or Javascript Pin
Abhishek_RK2-Mar-14 20:41
Abhishek_RK2-Mar-14 20:41 
QuestionOpen form page from network drive and save on the network drive Pin
abmanish7125-Feb-14 7:11
abmanish7125-Feb-14 7:11 
SuggestionRe: Open form page from network drive and save on the network drive Pin
Richard Deeming25-Feb-14 7:32
mveRichard Deeming25-Feb-14 7:32 
Questionwatermark val coming in IE11 Pin
nitin_ion24-Feb-14 3:04
nitin_ion24-Feb-14 3:04 
AnswerRe: watermark val coming in IE11 Pin
Kornfeld Eliyahu Peter25-Feb-14 6:10
professionalKornfeld Eliyahu Peter25-Feb-14 6:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.