Search   Feed   Browse   Add
Feed items 21 - 26 of 26 for June 2008

Java programming FAQ

Answers to frequently asked questions about Java programming.

Can you give an example of catching an exception - (Found June 24, 2008 )

A: One common example of catching an exception is when you try to read from a file that may not exist. You may enter a file name as the first argument on the command line, for example:
http://www.codestyle.org/java/FAQ.shtml#trycatchexample

How can I throw a NumberFormatException back to the main() method - (Found June 24, 2008 )

A: NumberFormatException is an un-checked exception. That means that the compiler will not enforce that your application catches the exception and handle the case. For example, users may enter an invalid number at runtime and the application would throw an exception and crash.
http://www.codestyle.org/java/FAQ.shtml#thrownfe

How do Java front- and back-end skill sets differ - (Found June 24, 2008 )

A: This is a somewhat arbitrary distinction to make about Java development, since applications often have front- and back-end components and it is important to understand how both aspects are integrated. In general terms, back-end development is concerned with database storage and retrieval, servlets, Web application frameworks and Enterprise Java Beans. This requires a good understanding of SQL and database applications, JDBC, network principles, servlet containers, the HTTP protocol and an...
http://www.codestyle.org/java/FAQ.shtml#frontbackskills

How can I make spelling checker with a LinkedList dictionary - (Found June 24, 2008 )

A: A basic spelling checker that processes an input stream of some kind might use a StreamTokenizer to identify the words from the input and use the LinkedList's contains(Object) method to check whether the given word is recognised. How you deal with un-matched words is up to the application interface, this example just lists the line number and word on the console output.
http://www.codestyle.org/java/FAQ.shtml#spellingchecker

How can I create a search engine in Java - (Found June 24, 2008 )

A: This is a big question and there are many aspects to consider. You may find it helpful to take a look at the MKSearch system. This is an open source project, so you can review the code yourself. The project Web site includes Java documentation, configuration notes and how to guides to get you started.
http://www.codestyle.org/java/FAQ.shtml#javasearch

Navigation - (Found June 24, 2008 )

Home page
http://www.codestyle.org/java/FAQ.shtml#sitenav
Available Archives
- June (26 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact