Learning Java has been one months, feeling a lot of learning, there is no sense of learning what. So decided at the beginning of the new Year. Summarize the notes of this one-month study. Extract the essence for later review and use. Java
Example of a DELETE statement:
The code is as follows
Copy Code
Delete from friends where user_name = ' simaopig ';
Grammatical structure, we can see that, like the update syntax, we can omit the WHERE clause.
I. Format of the IF statement and its execution flow (3 kinds) The first format of the 1.if statement:if (relational expression) {Statement body}Execution process:First judge the relationship expression to see if the result is true or falseIf true,
C's 32 keywords Auto: Declares that automatic variables are generally not usedDouble: declaring a dual-precision variable or functionint: Declaring an integer variable or functionstruct: Declares struct-body variable or functionBreak: Jump out of
EOF refers to the terminator of a file, which is a macro definitionWith the help of GetChar and Putchar functions, you can write them without knowing other input/output knowledgeAn astonishing amount of useful code. The simplest example is to copy
A stored procedure, which can be understood as a logical SQL statement.Advantage: Execution is very efficient, and stored procedures are performed on the server side of the database.Disadvantage: The portability is poor, and the stored procedures of
loop statements and loop controlObjective:Turbo C 2.0 provides three basic looping statements: For statements, while statements, and do-while statements.first, the Loop statement(a), for loopFor (;;)StatementInitialization is always an assignment
PHP statements for the front end, PHP statements for the front end, and php statements for the front end
Directory[1] if statement [2] switch [3] while [4] do-while [5] for statement [6] foreach [7] break [8] continue [9] gotoPreviousAny
Dark Horse programmer-java basics-Basic Knowledge (3), dark horse java
------ Android training, java training, and hope to communicate with you! ------
1. Process Control 1. Select structure statements
Select a structure statement to execute
Are you familiar with the use of the control flow of JavaScript programs? Here we will describe the common control flow structures and statements of JavaScript programs, including the if condition statements, for statement and while LOOP
Generally, in the following statement structure, you need to determine whether the if branch statement is true or false. The second statement in the while LOOP statement for is like if (boo) {// do something} while (boo) {// do something} the six
Python is a high-level scripting language that combines explanatory, compiled, interactive, and object-oriented.
In the current work and development, the use of Python more and more widely, in order to facilitate everyone's learning, Linux
This is a creation in
Article, where the information may have evolved or changed.
The difference between Go's If,for,switch and C
People who have a C foundation know that if, for, and switch conditional languages are bracketed. Basic format:
if{}for(
This article mainly introduces the basic knowledge of Python conditional statements and circular statements. The main contents include: 1. Conditional statements: Includes single, dual, and multi-branch statements, if-elif-else;2. Loop statement:
This section will introduce you to
python Loop statementThe use of.
the loop statement in Python has a forAnd while. The main content of this article is
for loop statements in the Python language, which is mentioned in the
Else Loopwill be listed
This article mainly introduces the odd fake value application in JavaScript. For more information, see the following statement structure.
If branch statement
While loop statement
The second statement in
For example
The Code is as follows:
If
Branch statementsThe if parenthesis can only be a logical expression, that is, the value returned by the expression can only be true or false.Blocks of code are enclosed in curly braces, and a block of code is usually executed as a whole (unless
Python learning day 2, python Day 2
Memory address query for python Variables
#!/usr/bin/env python# -*- coding:utf-8 -*-name = "zhang"name1 = "frank"id (name)
Process Control and indentation
If condition:
Execute the next statement
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.