ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด 51

[JAVA] contains() ๋ฉ”์†Œ๋“œ

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/String.html#contains(java.lang.CharSequence) String (Java SE 15 & JDK 15) All Implemented Interfaces: Serializable, CharSequence, Comparable , Constable, ConstantDesc public final class String extends Object implements Serializable, Comparable , CharSequence, Constable, ConstantDesc The String class represents character strings. docs..

[JAVA] replace() / replaceFirst() ๋ฉ”์†Œ๋“œ

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/String.html#replace(char,char) String (Java SE 15 & JDK 15) All Implemented Interfaces: Serializable, CharSequence, Comparable , Constable, ConstantDesc public final class String extends Object implements Serializable, Comparable , CharSequence, Constable, ConstantDesc The String class represents character strings. docs.oracle.com do..

[JAVA] StringBuffer ํด๋ž˜์Šค

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/StringBuffer.html StringBuffer (Java SE 15 & JDK 15) All Implemented Interfaces: Serializable, Appendable, CharSequence, Comparable public final class StringBuffer extends Object implements Serializable, Comparable , CharSequence A thread-safe, mutable sequence of characters. A string buffer is like a String docs.oracle.com java.lang..

[JAVA] StringTokenizer ํด๋ž˜์Šค

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/StringTokenizer.html StringTokenizer (Java SE 15 & JDK 15) All Implemented Interfaces: Enumeration public class StringTokenizer extends Object implements Enumeration The string tokenizer class allows an application to break a string into tokens. The tokenization method is much simpler than the one used by the Stre docs.oracle.com jav..

[๊ธฐํƒ€] ์•„์Šคํ‚ค ์ฝ”๋“œ (ASCII)

์•„์Šคํ‚ค์ฝ”๋“œ๋ž€? : ASCII stands for the "American Standard Code for Information Interchange". It's a 7-bit character set containing 128 characters. ์ •๋ณด ๊ตํ™˜์„ ์œ„ํ•œ ๋ฏธ๊ตญ ํ‘œ์ค€ ์ฝ”๋“œ. 7๋น„ํŠธ ๋ฌธ์ž ์ง‘ํ•ฉ. www.asciicharstable.com/ ASCII characters table www.asciicharstable.com

[JAVA] format() ๋ฉ”์†Œ๋“œ

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/String.html#format(java.lang.String,java.lang.Object...) String (Java SE 15 & JDK 15) All Implemented Interfaces: Serializable, CharSequence, Comparable , Constable, ConstantDesc public final class String extends Object implements Serializable, Comparable , CharSequence, Constable, ConstantDesc The String class represents character s..

[JAVA] ๋ฐฐ์—ด ์ƒ์„ฑ์‹œ ๊ฐ ์ž๋ฃŒํ˜•์˜ ์ดˆ๊ธฐ๊ฐ’(๋””ํดํŠธ๊ฐ’/default value)

byte (byte)0 short (short)0 int 0 long 0L float 0.0f double 0.0d char '\u0000' boolean false ์ฐธ์กฐํ˜• ๊ณต๋ฐฑ์ฐธ์กฐ or null โ€ป !!! ๋ฐฐ์—ด ์ƒ์„ฑ์‹œ & ์ธ์Šคํ„ด์Šค ๋ณ€์ˆ˜ & ํด๋ž˜์Šค ๋ณ€์ˆ˜ !!! โ€ป ์ง€์—ญ ๋ณ€์ˆ˜๋Š” ์ดˆ๊ธฐ๊ฐ’์œผ๋กœ ์ดˆ๊ธฐํ™”๋˜์ง€ ์•Š์Œ. ๊ผญ ์ดˆ๊ธฐํ™”๋ฅผ ์‹คํ–‰ํ•ด์•ผํ•œ๋‹ค.

[JAVA] hasNextInt() ๋ฉ”์†Œ๋“œ

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Scanner.html#hasNextInt() Scanner (Java SE 15 & JDK 15) All Implemented Interfaces: Closeable, AutoCloseable, Iterator public final class Scanner extends Object implements Iterator , Closeable A simple text scanner which can parse primitive types and strings using regular expressions. A Scanner breaks its input docs.oracle.com java.u..

[JAVA] BufferedReader / BufferedWriter ํด๋ž˜์Šค

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/io/BufferedReader.html BufferedReader (Java SE 15 & JDK 15) All Implemented Interfaces: Closeable, AutoCloseable, Readable Direct Known Subclasses: LineNumberReader public class BufferedReader extends Reader Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of docs.oracle.com docs.or..

[JAVA] getNumericValue() ๋ฉ”์†Œ๋“œ

docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Character.html#getNumericValue(int) Character (Java SE 15 & JDK 15) All Implemented Interfaces: Serializable, Comparable , Constable public final class Character extends Object implements Serializable, Comparable , Constable The Character class wraps a value of the primitive type char in an object. An object of class Chara docs.oracl..