• Post Reply Bookmark Topic Watch Topic
  • New Topic

meaning of program keywords  RSS feed

 
sandip chaudhari
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
program to accept string

hey friends I wrote this program.actually I copy it from webpage this website.Its very cool to wrote programs in java.but I did not understand meaning of string,scanner......
can anybody tell me about each and every keyword used in java?? so I can better understand program.
please give reply....
thank in advance....
 
Scott Winterbourne
Ranch Hand
Posts: 116
2
Eclipse IDE Java PHP
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String and Scanner are classes, not keywords.

Here is a list of Java keywords (reserved words) Oracle Java Keywords
 
Joel Christophel
Ranch Hand
Posts: 250
1
Chrome Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sandip chaudhari wrote:I did not understand meaning of string,scanner


A String is text, namely, a string of characters. A Scanner aids in the parsing of Strings/Streams.

If this is the first thing you've done in Java, it shouldn't be. you should find a good beginner's tutorial.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!