About Java class


A class is an object that summarizes the processing for executing programming, and there are member variables and methods for executing the processing in the processing of the class.

By the way, a member variable is a variable used in a class, and a method is a collection of processes performed using member variables.

The class is described as follows.


class class name{
Execution processing,,,

What is a class

If you've ever written java programming, you've probably seen it, but it's written outside of programming.

There are (public class) and (private class) in class. Declarations like the one above are called modifiers. The (sample) after that is the name of the class. The difference between (public) and (private) is the location where they can be used. (public) is a place that can be used from the outside, and places with (private) are the range that cannot be used from the outside.

Recommended Posts

About Java class
About class division (Java)
About Java StringBuilder class
[Java] About Singleton Class
About Java String class
About java abstract class
About Java class loader types
About Java class variables class methods
About Java interface
Java class methods
[Java] About Java 12 features
[Java] Class inheritance
java Scanner class
Java HashMap class
[Java] About arrays
About class inheritance.
java (abstract class)
Something about java
Where about java
About Java features
[Java] Nested class
Java anonymous class
About Java threads
About Java arrays
About java inheritance
About interface, java interface
[java] abstract class
[Java] Object class
Java local class
About List [Java]
About java var
About Java literals
About Java commands
About Java log output
About Java functional interface
Java, about 2D arrays
About the StringBuilder class
About [Java] [StreamAPI] allMatch ()
About Java method binding
[Java] About anonymous classes
About method splitting (Java)
Java inner class review
[Java Silver] About initialization
About Java Array List
About Java Polymorphism super ()
[Swing] About JFrame class
Java class type field
About inheritance (Java Silver)
Java programming (class method)
About Java access modifiers
About Java lambda expressions
About Java entry points
About Java 10 Docker support
Personal summary about Java
About sorting java.util.Arrays class
[Java] About enum type
Java programming (class structure)
All about Java programming
Find out about class methods
[Java] Integer wrapper class reference
A note about Java GC