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

Help me

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
How to Write a computer program that takes the name of a protocol port and prints the port number.
for example,if Http is used,it should print the port number as 80
if ftp is used,21 should be printed.
Thanks,
Kalnayak
 
Carl Trusiak
Sheriff
Posts: 3340
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kalnayak,
Please read Naming Policy and follow it, it does provide benefits to you, JavaRanch does a book give away on a forum periodically and only those who meet the nameing policy are entered.
Looking forward to your posts
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic