File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java coding test

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys
In one of the interviews I went for Java development, I was asked to write code to add/Subtract/Multiply and Divide 2 numbers using OOPrinciples. We have to create classes like OO principle not just add/subtract/divide and multiply

I did design these classes and wrote something. But would reallly lie to hear from other experts on how they will design and implment this/

Interesting puzzle..
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds too serious to be a "diversion", so I shall move this thread. It doesn't mean you escape me as a mod, however.Not only object-oriented, but immutable too It is actually a very simple exercise.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic