Methods In Java – Types, Class, Main, Parameters, and Examples
What is Java Methods Methods in Java are a collection of statements or a block of code organized together to conduct a certain task or operation. It is used to …
Java is the language that teaches object-oriented programming better than any other, strict typing, explicit class structures, mature ecosystem. It’s the backbone of enterprise software, Android apps, and countless BSIT capstones built with NetBeans or IntelliJ. This hub collects free Java tutorials from “hello world” through Swing GUIs, JavaFX, JDBC database integration, and Spring Boot REST APIs.
What you’ll learn in the Java tutorial series
Core syntax: variables, primitives, operators, control flow
Object-Oriented Programming: classes, objects, inheritance, polymorphism, encapsulation, abstraction
Collections framework: ArrayList, HashMap, HashSet, LinkedList, iterators
Exception handling: try/catch/finally, checked vs unchecked, custom exceptions
File I/O: reading/writing files, streams, NIO
JDBC: connecting to MySQL or SQL Server, prepared statements, transactions
GUI development: Swing (NetBeans), JavaFX (modern UI)
Modern Java: lambda expressions, streams, var, records, switch expressions
Spring Boot intro: REST APIs, dependency injection, JPA
Why Java for BSIT capstones
Java is preferred by BSIT/BSCS panels that emphasize OOP discipline: Java’s strict structure forces students to think about classes, inheritance, and encapsulation before writing code. It’s the dominant language for Android development (via NetBeans + Android Studio), enterprise systems (Spring Boot), and many desktop capstones (Swing + JDBC + MySQL). Performance is excellent, deployment is well-documented.
Recommended Java development setup
JDK 21 LTS (current stable Long-Term Support release)
NetBeans (most common for Philippine BSIT capstones) or IntelliJ IDEA Community (free, more modern)
Maven or Gradle for build tooling and dependency management
MySQL Connector/J for JDBC database connections
Git for version control (and GitHub for backup + showcasing)
JUnit for unit testing
Related Java resources
Java Projects, downloadable Java capstones
MySQL Projects, JDBC + MySQL integration
Android Projects, mobile capstones using Java
UML Diagrams, for OOP capstone documentation
Database Design, for ER diagrams in your Chapter 3
Scroll down to browse the full Java tutorial catalog ↓
What is Java Methods Methods in Java are a collection of statements or a block of code organized together to conduct a certain task or operation. It is used to …
What is Regular Expression in Java A Regular Expression or regEx in Java is a special string of characters that helps you match or find other strings or sets of …
What is Java Date and Time The Java Date and Time is a representation of date (year, month, and day (yyyy-MM-dd)). LocalTime represents a time (hour, minute, second, and nanosecond …
This is a continuation of the previous topic, entitled String. With the help of some examples, we will learn how to declare, initialize, and access array elements. The Java Arrays Are …
What is String Class In Java The String Class In Java handles character strings. All string literals in Java programs, like “abc”, are implemented as instances of this class. Strings …
What is Java Character Classes The Java Character Class is an instance of a type Character that has a single field whose type is char. The Character class has a …
The Number class In Java is the superclass of BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, and Short. The subclasses of Number must have methods for converting the represented number …
What is decision-making in Java? Decision-making in Java is a structure that has one or more conditions that need to be evaluated or tested by the program. Along with a statement or statements …
What is Loops in Java? The Loops in Java is a set of instructions to be run repeatedly until a certain condition is met. Loops are also called iterating statements …
What are the Basic Operators in Java The Basic Operators In Java are symbols that do operations on variables and values. For instance, + is an operator used for addition, …
What are Modifiers in Java? The Modifiers In Java, these are words that change the meanings of definitions by being added to them. There are many kinds of modifiers in …
What is Data Types in Java The Data types in Java are the basic building blocks of manipulating data in Java. Primitive data types can only hold data of the …
Connection with DriverManager.getConnection(url, user, pass). (3) Use PreparedStatement (NOT Statement) for queries — prevents SQL injection. (4) Process results with ResultSet. (5) Close resources in a finally block or use try-with-resources for automatic cleanup.