20165327 2017-2018-2 "Java program Design" 7th Week Study Summary teaching Contents Summary 11th chapter (i) MySQL database server
Download and install MySQL server
Start the MySQL database server
In the bin subdirectory, enter mysqld --initialize-insecure命令 and initialize the data directory.
Change Password:mysqladmin -u root -p password
Creating a tabl
20165205 2017-2018-2 "Java programming" a first-week summary of requirements analysisThe calculation of the input formula requires that the condition be met:
Integer operations such as 2+5,47+7865 are supported.
Supports multi-operator operations, such as 6/9+4/9,4+7*9.
Supports fractional operations (true fractions), such as 3/4.
High correct rate
have input prompt
Ability to h
20165115 2017-2018-2 "Java program Design" 7th Week Study summary Textbook study summary
MySQL Database management system
Use wildcards: You must call the appropriate method to set the wildcard character before the SQL object executes. "Represents the specific value
A command-line window that directly shuts down MySQL does not shut down the MySQL database server and shuts down the MySQL database
20165208 2017-2018-2 "Java Program design" Seventh Week study summary textbook Study content summary 11th ChapterPreparatory work: Installation of XAMPPCreating a database tableQuery modify and update tables in the databaseFocus: Using Preprocessing statementsProblems in code debugging and the resolution processIssue one: A problem occurred at run time the public class needs to be declared. SpecificSolution
20165219 2017-2018-2 "Java programming" pair programming first week summary pair object20165219 Wang Yanbo20165232 He YandaDemand analysisImplement a program that requires:1 Support for integer operations2 support for multi-operator operations3 support fractional operation, support true fractional operation3 statistic correct rateExpansion requirements:Design ideasThis is a program that needs to support com
are also used as the denominator of 1 of the score to be calculated, and then converted.
Good friends of pairing programming
20172323 Wang Yuhan: infix turn suffix
20172314 Fang: Calculation of suffix expressions
20172305 Tan Xin: The output of infix expression
Team ExperienceIn our team, I am responsible for writing requirements analysis and design ideas, Tan Xin is responsible for making UML class diagram, Wang Yuhan is responsible for making PSP map and determine c
20165236 2017-2018-2 "Java programming" pair programming exercises _ arithmeticPair group: Ye Shi, Guo JintaoFirst, demand analysis:1, can randomly generate N road arithmetic topic, n by user input;2, support a variety of operators;3, can calculate the correct rate;4, can correctly handle the case of the parentheses and output the correct results of the operation.Second, design ideas:Randomly generated arit
2017-2018-1 Java Experimental Station sprint DAY05
Tasks completed by individual members today
Group members
Work Today
Complete Progress
Zhang Yiqi
Carry out the summary
100%
Qili
Find the button music
100%
Zhang Haolin
Write a blog
100%
Zhang Tai Yuk
Game Sta
There are two ways: 1. Catch the exception and handle it yourself. 2.throw go out and let someone else handle it.As an example:public class a{ try{ A statement that could release an exception ... }catch (Exception e) { E.getmessage ();//Handle yourself }}public class A throws exception{ A statement that could release an exception ...}//throw out and let someone else handle it.Note that this is throws.If you use the throw in the methodExample:public class a{ try{ A state
The collection can only hold objects and holds objects that are instances of the object class.Java Collection framework: a collection of class libraries contains a number of superclass classes that contain multiple elements and provide a way to manipulate the contained elements, including elements that can be composed of the same type of object or by different types of objects.This includes vector vectors, stack stacks, hashtable hash tables, and so on.The vector class is similar to a variable-l
represented by true and false, in Java, where a Boolean value and an integer cannot be converted to each other. Conditional quotations have two types of IF statements and switch statements. For the third chapter of the textbook on a total of 60 pages of all the thorough understanding of the content has not been fully achieved, the teacher's courseware downloaded their own more to see more learning but still some difficulty, in the last semester of C
speak much here, mainly to explain the classes in several Java librariesObject:object is a very important class, object is the root class of the class hierarchy, each class uses object as the superclass, and all objects (including the numbergroups) Implement this class of methods. Use object to define all classessuch as:Object object= New Integer (1) to define a Interger classinteger i= (integer) object; In order to cast this object into the Interger
the Java program design. objects, methods and other content is an essential part of the general Java Program Design content, and practice more dozen code, will gradually understand its routines, so as to understand its use.Learning progress Bar
lines of code (new/cumulative)
Blog Volume (Add/accumulate)
Learning Time (new/cumulative)
Important Growth
, In the previous C language learning of some knowledge is not thorough and the current study has a certain impact, in the future to learn, but also to continue to take time to their own programming more practice, read more to see more practice, programming ability for a computer science and technology students is also a very important ability, I will also strive to improve their learning ability to learn efficiency. The study of Java is not a sophomo
, which is an integer type, but there is no Boolean operation in the C language. For each in Java is a simplified form of a for statement, and he is handy, and the code looks simpler than it used to be. Java's input and output is also very different from the C language, but Java is more flexible and there are many types of output.This week we learn data types, operators, variables, string operations, input
After learning some basic Java grammar, the excitement of the mind can not be restrained, always compare the differences between Java and C language Grammar, a free time will be used to learn the basic Java grammar to write some simple procedures. This does not, accidentally and into the difficulties, I sincerely ask you friends, how to solve my problem, the foll
-system under Windows, so only the command line does not have a visual interface, such as the need for the interface to call third-party software, the situation can be viewed using virtual machine.
Issue 3: Compile XXX Complete, run is prompt: Exception in thread "main" java.lang.NoSuchMethodError:Student.
Problem 3 Solution: Prompt class with the same name in the same package or project, change the class name, save to run normally.
Code HostingLearning progress Bar
not flexible, good maintenance problems; There are some less expressions in the book, Places that are not very well understood, such as the instanceof operator, override, and so on, can only be learned through video. At this stage still stay in the process of knocking on the book Code, I hope that I can put forward some more valuable questions.Problems in code debugging and the resolution processis declared as a member of the protected, classes in the same package can be accessed directly, and
Yesterday the CTO let me to the company's staff to do a Java programming specification training, overall, I think it is still relatively successful, but in Java this way, or feel that their lack of knowledge more, plus the company recently came to think of architects, suggest we start to write their own blog, think very necessary, There are three reasons:One: A lot of cattle in the blog park, many
and install Java SDK JDK, to carry out some simple procedures, as a preliminary understanding of Java, after all, to know people, and then learn the essence. The new knowledge is inevitably unfamiliar and novelty, so the reading of the book will be more detailed, slowly into the right track, the first thing to do is to coordinate time, the study of various subjects in time there is a great demand, time is
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.