Tips"Effective Java, third Edition" an English version has been published, the second edition of this book presumably many people have read, known as one of the four major Java books, but the second edition of 2009 published, to now nearly 8 years,
Tips"Effective Java, third Edition" an English version has been published, the second edition of this book presumably many people have read, known as one of the four major Java books, but the second edition of 2009 published, to now nearly 8 years,
Tips"Effective Java, third Edition" an English version has been published, the second edition of this book presumably many people have read, known as one of the four major Java books, but the second edition of 2009 published, to now nearly 8 years,
Today to do a face blindfolded, the original thought to understand a very deep, it seems not only to learn, change the use of flexible dressing. The following are the differences between the overloaded and rewritten collections:1. First, write:
The following is a comprehensive revision of the original Java face test set and answers to the questions and answers, the original topic has a lot of repeated topics and worthless topics, there are a lot of reference to the answer is also wrong,
1, scope public,private,protected, and the difference when not writtenA : the difference is as follows:2, Anonymous Inner Class (anonymous inner Class) can extends (inherit) other classes, whether you can implements (implement) interface
Java Fundamentals:1, scope public,private,protected, and the difference when not writtenA: The difference is as follows:Scope Current class same package descendant class other packagePublic√√√√Protected√√√xFriendly√√xxPrivate√xxxDefault to friendly
Java basics:
1. the scope is public, private, and protected.
A: The differences are as follows:
Scope: current class, same package, Child class, other package
Public √
Protected √ ×
Friendly √ ××
Private √ ×××
The default value is friendly when no
Java-related Basics2. Is string the most basic data type?The basic data types are byte, int, char, long, float, double, Boolean, and short.The Java.lang.String class is of the final type, so you cannot inherit the class or modify the class. In order
Tag: cannot be inherited between its copy attribute level overrides loaded Util1. What are the aspects of object-oriented features? InfrastructureA: Object-oriented features are mainly in the following areas:1) Abstraction: Abstraction ignores
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.