Java program flow control

1. Process control statement Java provides some process control statements to control the execution process of the program Sequential structure - program default process Branch structure - if, switch Loop structure - for, white, do... while 1. Branch structure 1.if branch The code that executes a branch is determined according to the determ ...

Added by PHPHorizons on Mon, 14 Feb 2022 09:14:14 +0200

[Java] IO series BufferedReader (super detailed analysis)

๐Ÿ : Blog home page: Incoming bogey ๐Ÿ“•: Today's article: [Java] IO series BufferedReader ๐Ÿ’: I hope my analysis of IO series can help you ๐ŸŽˆ ๐ŸŒฑ: Boji is still trying to learn JavaSE. If you have any questions or omissions, please give me more advice ๐Ÿ™ โ˜€๏ธ: On the way of self-study and growth, thank you for your company! No hurry ๏ผŒ No Pause ...

Added by fbm on Mon, 14 Feb 2022 07:02:45 +0200

[java basics] static Single case design pattern Math class Arrays class

static keyword Variables, methods, code blocks and internal classes used for modification (not involved for the time being). The modified members belong to the class, not just It belongs to an object. In other words, since it belongs to a class, it can be called without creating an object. Class variable When static modifies a member variabl ...

Added by michaellunsford on Fri, 11 Feb 2022 20:58:12 +0200

Day03 operator

Task 3: operator 1. Arithmetic operator +Represents the addition operator-Represents the subtraction operator*Represents the multiplication operator/Represents the division operator%Represents the modulo / remainder operator package com.lagou.Day03; /** * Arithmetic operator */ public class Demo01 { public static void main(String[] ar ...

Added by mobile target on Thu, 10 Feb 2022 01:23:32 +0200

javaSE___ Collective system 03____LIst set, iterator

1, Overview and test of unique functions of List collection 1. void add(int index,E element) adds an element at the specified position. The test is as follows: public static void main(String[] args) { List list = new ArrayList(); list.add("a"); list.add("b"); list.add("c"); list.add("d"); l ...

Added by faizulbari on Tue, 08 Feb 2022 18:37:46 +0200

javaSE___ Collection system 02 -- collection, iterator

1, Basic function test of Collection The first method: Boolean add (E) add elements. The test is as follows: public static void main(String[] args) { Collection c = new ArrayList(); //A parent class reference points to a child class object boolean b1 = c.add("abc"); boolean b2 = c.add(true); //Auto boxing new Bo ...

Added by moomsdad on Tue, 08 Feb 2022 17:54:24 +0200

Java library management system

Java library management system โšก Preface โšก ๏ธ After reading this column, you can summarize the knowledge you have learned from the main application of Java, and hope to deepen your knowledge after reading this column. ๐Ÿ‰ Blog home page: ๐Ÿ [warm the sun like the wind]๐Ÿ ๐Ÿ‰ Boutique Java column [Javase],[Java data structure] ๐Ÿ‰ Welcome to ...

Added by 25lez25 on Sun, 06 Feb 2022 21:02:24 +0200

Java object-oriented abstract classes and interfaces

Java object-oriented abstract classes and interfaces โšก Preface โšก ๏ธ This article is the third article in the object-oriented part. See the links for the first two articles Package and inheritance,Combination and polymorphism . Abstract classes and interfaces are a further step of the parent class in the inheritance relationship. It is easier ...

Added by cosmoparty on Fri, 04 Feb 2022 07:14:52 +0200

Reflection in JAVA

definition The reflection mechanism of Java is to know all the properties and methods of any class in the running state; For Ren An object can call any of its methods and properties. Since we can get it, we can modify some type information; This function of dynamically obtaining information and dynamically calling object methods is called ...

Added by kaumilpatel on Thu, 03 Feb 2022 02:00:14 +0200

2021 big data learning journey JavaSE ยท object oriented (class, object, encapsulation, construction method)

preface The series of articles is more suitable for non science students. From shallow to deep, step by step, and embark on the road of big data from the foundation Let's work together to achieve our goals and realize our ideals Finally, please leave your little โค, Give me a little encouragement 1, Object oriented thought 1.1 over ...

Added by rochakchauhan on Sun, 30 Jan 2022 11:50:42 +0200