Use super and this to access objects and constructors
Use abstract classes and interfaces
Handling Exceptions
Differentiate among checked exceptions, unchecked exceptions, and Errors
Create a try-catch block and determine how to exceptions alter normal program flow
Describe the advantages of Exception handling
Create and invoke a method that throws an exception
"Recognize common exception classes (such as NullPointerException, Arithmeticexcpetion, arrayinde
DriverManager class including the JDBC URL
Submit queries and read results from the database including creating statements, returning result sets, iterating through The results, and properly closing result sets, statements, and connections
Localization
Describe the advantages of localizing an application
Read and set the locale by using the locale object
Create and read a Properties file
Build A resource bundle for each locale and load a resource bundle in an appli
, Java virtual machines can better support the use of JavaScript code.Finally, I'll cover features that few people know about, such as new ways to add strings to lists and other features that can help you with your daily tasks.For more Java SE 8 features and guidelines, I recommend you refer to the Http://docs.oracle.c
----Java SE Basics Review1. Break in a looping statement terminates all loops, jumps out of the loop body, and continue terminates the loop, jumping to the next loopThe 2.return statement has two functions: return value; End method Run3. For object-oriented understanding in Java: Organize the code as a class and encapsulate the data as an object. Classes are equi
an abstract class and an interface?(1) Abstract classes need to be inherited, and can only be inherited. Interface needs to be implemented, and can be implemented more, that is, to implement multiple interfaces(2) Abstract classes can be defined abstract methods and non-abstract methods, subclass inheritance can directly invoke non-abstract methods, the interface can only define abstract methods (that is, all of the interfaces are not implemented met
Lambda expressions are a core feature of Java SE 8, and most of the improvements are spread around lambda expressions. (The jigsaw project has been postponed to Java SE 9.) The contents of the lambda expression are described in the previous article. This article focuses on e
Computer System: Windows 8
Here we will introduce three versions of the java platform:
Java SE -- Java Standard Edition, Java Standard Edition, is mainly used for table-level application and database development.
Now only to understand java8, is not after the understanding of the point?New programming techniques, individuals do not like the first time to follow up.Is it more cost-effective to have practice in the community?A little shrewd Consideration. Not much to say, on the Code.Read the note code for "java se 8" for busy people//i hope you're too busy to read this boo
The Java SE 8 has been fully functional in the June 13 version. In these new features, lambda expressions are the most important new features that drive the release of this release. Because Java first tried to introduce the relevant content of functional programming. The community has also been looking forward to lambd
1. Three basic features of object-oriented programming: Inheritance (inheritence), Encapsulation (encapsulation), polymorphism (polymorphism)2. Encapsulation: Classes contain data and methods, and the data and methods in a class constitute the encapsulation3. How to define a class:The name of the Modifier class class{The contents of the class (including properties and methods)}4. Method: How to define a methodModifier returns the type method name ([pa
Constant:A constant is an identifier whose value is constant during run time, and constants can only be referenced in the program and cannot be re-assigned.Naming rules for constants:1. In Java, adding the final keyword to a variable declaration represents a constant, and adding the static keyword represents a class variable. The General union declares a variable;2. Try to use the represented meaning intuit
, and super refers to a reference to the parent classe) The Super keyword must be the first line statement in the constructor method.13. Method override (Override): Also called overwrite, the subclass is the same as the method return type of the parent class, the method name is the same as the parameter, so we say that the child class and the parent class's methods constitute an overriding relationship.14. Method overrides relationship to method overloads: Overloads two or more methods that occu
1. Java Basic Data typeint 4 max 0x7fffffff 2147483647=2 31 square-1 first bit symbol bit minimum -2147483648 0x80000000 complement store first constant other bit reverse plus 1Short 2 max 2^15-1 32767 min -2^15-32768Long 8 maximum 2^63-
Java SE learning [1], javase Learning
I have learned java for more than one month. It takes more than 100 hours to calculate the time spent on it, the progress is that the variable, loop, branch, and array are finished, and the object-oriented part is learning. Record some puzzles and feelings I encountered during my s
Java programmer cultivation: Logging (1/3) and java programmer Cultivation
Preface:
As the first topic of the blog "Java programmer Cultivation", I plan to write the following three art
8 Java Development Tools Each Java programmer needs to knowJava is a computer application programming language, is widely used to create Web applications, server processing, user-side API development and even databases, and many other fields. Here are 8 of the best
Java is a computer application programming language, is widely used to create Web applications, server processing, user-side API development and even databases, and many other fields. Here are 8 of the best Java tools to help you develop Java applications.1. SparkjavaThis is
as an important factor. This tool provides a super-simple full-text search experience.Official website: http://www.elasticsearch.org/
Sonarqube
Sonarqube is an open platform for managing code quality. Web-based applications can be configured with Java applications. It provides rules, alerts, thresholds, exclusions, and setup features. Sonarqube allows users to combine metrics and use historical measures to mix.Official website: http://w
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.