Test your Java Field

Source: Internet
Author: User
Tags java se

[Turing Book recommendation] Java solution Java tutorial (version 4th)
"Java Godfather" Joshua Bloch will show you how to go deep into the wonders of the Java language Sun's official designated teaching materials will be published soon! Covers javase 6
I found a technical problem during the review and found the Java document on Sun's website. I accidentally found this small test on Java SE 6 knowledge. Try it.

Questions include:

  1. Which scripting language can be used on the Java SE 6 platform?
  2. What is Unicode text normalization?
  3. How to start the default browser on the computer to view specific URLs?
  4. How to sort jtable content?
  5. Which annotation (annotation) should I use to publish a method as a Web service operation using Java API for XML Web Services (JAX-WS) 2.0 )?
  6. ......

It should be said that it is not very deep, but involves a wide range. Because I have no experience with Java 6, I have answered a few questions. What about you?

In fact, it is very important to conduct such tests in learning. The best source of testing questions in the Java language itself is, of course, the "Java Godfather" Joshua BLOCH (developer of javase5 and developer of Java Collection API, is currently the boss of goolge Java. The questions are both in-depth and interesting.

[Updated in 20070713] Today I found another article about Java interview questions, from Java developer's journal. The depth of the questions is much better, with a total of 30 questions. The number of asterisks indicates the difficulty. Questions include:
* Q1. how cocould Java classes direct program messages to the system console, but error messages, say to a file?
* Q2. what's the difference between an interface and an abstract class?
* Q4. explain the usage of the keyword transient?
* Q5. how can you force garbage collection?
* Q6. how do you know if an explicit object casting is needed?
* Q7. what's the difference between the Methods Sleep () and wait ()?
......
* Q20. how can a subclass call a method or a constructor defined in a superclass?
......
** Q22. you can create an abstract class that contains only abstract methods. on the other hand, you can create an interface that declares the same methods. so can you use abstract classes instead of interfaces?
** Q25. if you're overriding the method equals () of an object, which other method you might also consider?
** Q29. there are two classes: A and B. The class B need to inform a Class A when some important event has happened. What Java technique wocould you use to implement it?
......

[Extended Reading]
Java Godfather Joshua Bloch interview
A Java Book II that you can certainly understand
News: Java open-source, resigned
2006 Java Review and Outlook
Java puzzles is on the market. Let's join us in Java thinking gymnastics!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.