changyu ji

Greenhorn
+ Follow
since May 14, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by changyu ji

Junilu Lacar wrote:There is an implied object reference there, namely, this. That is, the code is really this.getPassenger(). So you do have an object and it happens to be whatever object is being called upon to execute its addPasenger() method.




so equals and the latter is more clear?
8 years ago
why can i call the “getPassenger()” method directly without creating an object first? in line 57

8 years ago
if i've stored the "cart" attribute in session,
what's the difference between the methods pageContext.findAttribute("cart") and session.getAttribute("cart") in servlet file,
do they have the same function in this case?
9 years ago
Is there any Java frameworks which can be used to send and receive a file over a socket,or receive an email, etc.Because i don't know their names, i can't google by their name ,do you have a way to search such frameworks, such as netty,or is there any such sites which lists all java framework?
10 years ago

changyu ji wrote:

Jeff Verdegan wrote:There are many libraries for Java, including many that deal with sockets in one way or another.

However, your question is extremely vague and makes no sense.


i am sorry ,i miss a word in the question ,i mean the example program library, thank you


such as receive a flie over the socket, or send an email
10 years ago

Jeff Verdegan wrote:There are many libraries for Java, including many that deal with sockets in one way or another.

However, your question is extremely vague and makes no sense.


i am sorry ,i miss a word in the question ,i mean the example program library, thank you
10 years ago
is there any existing java code library,i can't write a slightly complex program ,such as send and receive a file over a socket , send an email etc
10 years ago
how to use tcp socket to receive and send large image, how to write the code, thank you
i just can not think out what will happen when displaying a window on the screen,
11 years ago
Which of these do you think might throw an exception that the complier would care about? We are only looking for the things that you can't control in your code.We did
the first one. ( The question is from the book Head First Java in page 325,sharpen your pencil part)

Things you want to do -------------------------------------------------------------------------------------------What might go wrong

_can't control__connect to a remote server ------------------------------------------------------------------- ___the server is down___
_can_________access an array beyond its lengyh ---------------------------------------------------------- __the byte is used by other programs, operating system don't allow you to access__
_____________display a window on the screen ------------------------------------------------------------- ________________________
_____________retrieve data from a database --------------------------------------------------------------- ________________________
_can't control__see if a text file is where you think it is ------------------------------------------------------ __You do not have permission to enter the directory_
_can_________create a new file --------------------------------------------------------------------------------- __Duplicate file names__
_can_________read a character from the command-line ----------------------------------------------------- _did not input anything_
11 years ago
the question is in the attachment,please help me , i can't even fill any one
11 years ago
please help me fill in the blanks, i can't even fill one,thanks
11 years ago