Java Cơ Bản
Phương thức main() trong Java application
Phương thức main() là entry point của standard Java application. JVM sẽ sử dụng phương thức main() để execute một chương trình Java. Thông thường chúng ta sẽ viết code cho phương thức main() đầy đủ như sau:
|
1 2 3 4 5 6 7 8 |
package com.huongdanjava.java; public class Application { public static void main(String[] args) { } } |
Từ khoá public là access modifier,… Read More
Scoped Value in Java 25 Explained | Real-World Examples
What is a Package in Java? | Why We Need Packages Explained
Java main() Method Explained | public static void main(String[] args) Breakdown
Java Class Structure Explained | Package, Imports, Variables, Methods, Constructors & More
JDK vs JRE vs JVM in 60 Seconds
Stack trong Java
Stack là một data structure với LIFO (Last In First Out), phần tử nào vào sau thì sẽ được lấy ra trước. Trong Java thì Stack là một generic class, hiện thực stack data structure đó các bạn. Trong bài viết này, chúng ta sẽ… Read More
Java Stack Tutorial | Push(), Pop(), and Peek() Explained with Examples