I would like to talk about the collection application in ASP. net2.0.
1. Arrays
Array is the simplest collection of objects. Let's start with a class of person.
The concept of classes is not mentioned. Open a project and create a new app_code folder
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
Body of content: 31. The company requires the development of a component that inherits the system. Windows. Forms. listview class and requires the following special features: Click
When listview columns are headers, all rows in the view can be
11.
& Is a bitwise operator. & Is a Boolean logical operator.
For example:
1 & 0 = 1;
I> 0 & I! = 3;
12. Differences between hashmap and hashtable.All belong to the map interface class, which maps the unique key to a specific value.The hashmap
CollectionShortlist│ Invalid parameter list│ ├ Arraylist│ Vector│ Elastic StackSorted setMap├ Hashtable├ Hashmap└ Weakhashmap
Ordered or not
Allow repeated Elements
Collection
No
Yes
List
Yes
Yes
First, let's talk about the differences between final, finally, and finalize.
FinalIt is used to declare attributes, methods, and classes, indicating that the attributes are unchangeable, methods cannot be overwritten, and classes cannot be
(1) technologies that must be enhanced (recently). What technologies should be learned in a specific period of time (for example, a week familiar with WebServices and Ajax)
1. Write your own code to implement Ajax, WebService (SOA), and jquery to
Basic knowledge:
1. Simple Principle and Application of the Exception Handling Mechanism in Java.
When a Java program violates the Java Semantic Rules, the Java Virtual Machine will indicate an error as an exception. There are two types of
First, let's talk about the differences between final, finally, and finalize. Final-modifier (keyword) If a class is declared as final, it means that it cannot generate a new subclass and cannot be inherited as a parent class. Therefore, a class
Use this instanceVs2003, For example:1.Download the installation file from the official website at the following address:Http://www.castleproject.org/The latest version 1.0rc22.AddCastle. Monorail. Framework. dllCastle. Monorail. Framework. Views.
61. Does the array have the length () method? Does string have the length () method?
The array and string do not have the length () method, but only the Length attribute.
62. What is the difference between sleep () and wait?
The sleep () method
What is a class?
Class is a basic concept of object-oriented programming. It is a type of custom data structure, usually including fields, attributes, methods, attributes, constructors, indexers, operators, and so on. Because it is a basic
Original translated from: http://www.diybl.com/course/3_program/java/javajs/2007917/71621.html
Preface
Linear tables, linked lists, and hash tables are common data structures. During Java Development, JDK provides a series of
Some Basic Concepts
Problem description: Reference Type & Value Type
1. Is string a value type or a reference type?
Reference type. The proof is as follows:
Let's take a look at the following:Code
Using
System;
Using
System.
Before reading this chapter, you must have a good understanding of the value type and reference type.
For more information about the value type and reference type, see [. Net] In anytao. Article 8: taste type --- value type and reference type
Today, I saw two students discussing the execution of the gethashcode method. It seems that their object equivalence judgment is quite complicated, and they want to write the same logic in gethashcode, then we will discuss the algorithms used to
Collection objects list │ collect objects list │ ├ arraylist │ empty vector │ empty stack using setmap using hashtable using hashmap using weakhashmapcollection Interface collection is the most basic set interface. A collection represents a group of
CollectionShortlist│ Invalid parameter list│ ├ Arraylist│ Vector│ Elastic StackSorted setMap├ Hashtable├ Hashmap└ WeakhashmapCollection InterfaceCollection is the most basic collection interface. A collection represents a group of objects, namely,
【C # equals]
1. Object. Equals ()
The type of comparison between the current instance and the OBJ parameter depends on whether the current instance is a reference type or a value type.
If the current instance is a reference type, the equals (object)
1. In Java exception handling, the error exception generally does not need to be captured by the programmer.
2. The runtimeexception statement must be encapsulated in the try statement. 3.
3. Differences between arraylist and vector: there 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.