• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

client level code?

 
Jay Mandorla
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am doing a homework assignment that asks me to "Write Java statements at the client level," but I can't tell what "statements at the client level" actually means. Does that just mean pseudocode? (But pseudocode wouldn't be "Java statements," right? But maybe I'm overthinking this...)

Any help is appreciated.

Jay
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jay,

Welcome to JavaRanch.

I think you can always ask your professor if you have any doubt in assignment. By the way what is the complete problem statement?
 
Jay Mandorla
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vishal Pandya wrote:Hello Jay,

Welcome to JavaRanch.

I think you can always ask your professor if you have any doubt in assignment. By the way what is the complete problem statement?


Hi Vishal, thanks for the welcome.

My problem is of my own making -- I put the assignment off until the last minute, so I won't have a chance to ask before I have to turn it in. There are several questions that ask for "code at the client level." An example question would be:
Suppose that the ADT list did not have a method replace. Write Java statements at the client level that replace an object in the list nameList. The object's position in the list is givenPosition and the replacement object is newObject.


 
Henry Wong
author
Marshal
Pie
Posts: 21419
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is of my own making -- I put the assignment off until the last minute, so I won't have a chance to ask before I have to turn it in. There are several questions that ask for "code at the client level." An example question would be:


Unfortunately, the term that you are using is not common to us, so asking your professor is still your best bet. All we can do is guess.

Henry
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...Or write down a pretty good java code (statements) for the problem statement along with the pseudo code. . So in any case you will be fine.
 
Jay Mandorla
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Henry and Vishal.

Note to self: next time, don't wait til the last minute...
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay Mandorla wrote:
Suppose that the ADT list did not have a method replace. Write Java statements at the client level that replace an object in the list nameList. The object's position in the list is givenPosition and the replacement object is newObject.



As others have said, the term 'client level code' is non-standard, so your prof' is the best place to get an answer. From the context, though, I think what s/he is looking for is to write code from the perspective of a method using the ADT list, rather than from the perspective of, perhaps, subclassing or implementing the ADT list.
 
Jay Mandorla
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

As others have said, the term 'client level code' is non-standard, so your prof' is the best place to get an answer. From the context, though, I think what s/he is looking for is to write code from the perspective of a method using the ADT list, rather than from the perspective of, perhaps, subclassing or implementing the ADT list.


Hmm, yeah, I think that might be it. Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic