Through This chapter of the study, I understand the basic Java program design structure, but also on the annotations, data types, variables, operators, strings, input and output, control flow, big data and other Java basic knowledge, I also learned to use these basic knowledge to write some simple Java programs. I think we should mainly grasp the similarities and
This week we have been exposed to the Java object-oriented content, it is really difficult to tell the truth, a variety of new terms appear, and the relationship between the different words. Object-oriented programming and process-oriented programming have a great difference, to learn to change in thinking. This week, we learned about classes and objects, as well as the construction of objects, including the encapsulation of classes, static and static
agile development and XP practice-4Refer to Http://www.cnblogs.com/rocedu/p/6683948.html to complete the learning of Java cryptography related content in pairs, combining refactoring, git, and code standards.
Submit the learning Result Code cloud link and the representative result, must have the student number watermark.Run
Experimental thoughts, through this experiment let me have a deeper understanding of
Component: Java the object created by a subclass or an indirect subclass of the component class is called a component.Container: A component in Java that can accommodate and arrange components.The container class provides a method add () that is used to add additional components to the Container class Component object.The screen size information is obtained by invoking the method of the Toolkit class.The Se
JDK Java Development Package.Java environment variable Settings-computer-Properties-Advanced system Settings-advanced-environment variables-system variables
NewVariable name: java_homeVariable Value: C:\Program Files (x86) \java\jdk1.7.0_45\ (folder address of bin)
Find the PATH variable valuePlace the cursor at the top of the variable value and add a semicolon (English character)
Javac compiled
class name. Each class can have more than one constructor. The constructor can have 0, 1, or more arguments, the constructor does not return a value, and the constructor is always called with the new operation. Mastering the role of the constructor's API can learn to use the new symbol to design and generate a class object code.In the Friday experiment class, the teacher through a series of questions infiltrated a lot of knowledge points, his class is also in earnest to do the experiment report
(generally non-private adornments) in the parent class that have access control permissions, and the subclass does not inherit from the properties and methods that are unique to the private decorated parent class.When a subclass needs to change the inherited method, it is often said to override the parent class. Once overridden, this method of the parent class behaves as hidden for the subclass. After the object of the subclass calls this method, it is called after the subclass is overriddenmet
A week went by and I felt this semester was going well. Feel that they are back from home, but a semester of One-fourth and No. In this time, we spend a lot of time and energy to learn Java, however, I feel that I can not learn Java, take the inheritance of Java, last week, our classmates all gave the teacher's opinion, let the teacher according to the traditiona
characteristics that have hierarchies and subclasses that inherit the domain and methods of the parent class. Four advantages: The reusability of the ① code ② can easily customize the domain and methods of the subclass ③ parent class to be used for subclasses. ④ makes designing applications easier.For an existing class called a superclass, a base class, or a parent class. The new class is called a subclass, a derived class, or a child class. In general, sub-analogy super-class has more features
Parse: Item B: Use + to represent public, use-to represent private. D: The child class points to the parent class.
Parse: A variable declared with a class is called an object.
Parse: C: NullPointerException exception. E item: If the reference is the same, the entity is identical.
Resolution: A: The Cone object Delegate Circle object calls the Getarea () method to calculate the bottom area.
Close to the end of the semester, we also want to close the course, Java learning is also close toEnd. This is also our last blog post, a semester has learned a lot.From the most basic grammatical knowledge points to classes, objects and methods, the Java program is formed, butAfter this on the basis of slowly inherit, interface and then to the human-Computer Interaction window, are aA gradual process.Multi
, namedHashcode (Hash Code). These three categories I basically have mastered the use of its methods and some considerations. In theJDK1.2version, there was a huge collection system that he used to perform various collection operations. The interfaces in the collection framework are:Collectioninterface, which is the root interface of the collection hierarchy, containsSetClasses andListclass, the implementation of these two classes interface I have a general understanding of the first;Mapinterfac
class.The collection, Set, list, Map, SortedMap are also known in this chapter. Collection is the root interface in the collection hierarchy, the JDK is not the implementation class that provides this interface directly, the set cannot contain duplicate elements, the elements must be unique, and the object elements added to the set must define the Equals method. To provide an algorithm to determine whether the object to be added is equal to an already existing object, thus establishing the uniq
This week Thursday, the teacher of the first four chapters of the knowledge of a test, some of the test content is just beginning to learn the time to do, there are some teachers later added. Through this test, I think there is a lack of programming problems, to learn extrapolate, analogy to the book sample program, write the program you want. A better point is to do the title remember, also know where the wrong.Friday the teacher first on the test procedure on the computer to write code, by fol
the last curly brace is followed by a ";" End. In my opinion,JAVA refers to these things in order to make the program easier and easier for editors and readers. this week's blog post I choose to describe the problems that have previously remained, but also feel that I will deepen the impression here again, will further understand these grammatical points. And what about it! I am also very grateful to the teacher last week for me to provide a link to
The first week of school, has been and all the subjects "confrontation" over one or two times, and imagined not quite the same, especially Java learning! In the first Java class, after listening to the teacher's request, my heart is not very repulsive, before the middle school when I received that kind of teaching methods, but I am very clear, now and before very different.Because the textbook is not enou
must redefine the Clone method to implement a deep copy of the cloned sub-object. The following judgments are made for each class:1: Whether the default Clone method meets the requirements2: Whether the default Clone method can be patched by invoking the clone of a mutable child object.3: If clone should not be usedIf you want to use clone, you must:1: Implement Cloneable interface2: Use the public access modifier to redefine the Clone method and declare the exception clonenotsupportedexception
subclass overrides the member method with the same name as the parent class. If you want to access a member method of the same name in the parent class in a subclass, you need to use the Super keyword to refer to it.Note: Hiding and overwriting are different. Shadowing is for member variables and static methods, and overrides are for common methods.Subclasses are constructors that cannot inherit the parent class, but note that if the constructor of the parent class is parameterized, the constru
Dazzling has been learning Java for four weeks, feeling that it has not been a weekend since the week. Every person in the experiment can be completed on time, can master the knowledge of the content, even if a half, feel that such a life is boring and boring. Self-learning ability is poor, if you are interested in things to learn good, also is not to say that Java is not interested in, just feel that their
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.