in28minutes
Home
Roadmaps
Flashcards
Bookshelf
Subscribe
Introduction To Methods
Java Fundamentals - 14 Cards
Click here to toggle all cards
Method
A named block of code that performs a specific task and can be called multiple times
Method Syntax
ReturnType methodName() {
//Body of the method
//What do we want to do in the method?
}
What is ReturnType in Method?
The data type of the value returned by a Java method
Void
A return type that indicates a method does not return a value
Method Arguments
Inputs provided to a method during method call
Class
A blueprint for creating objects in Java
Object
An instance of a Java class that has an identity, behavior, and state.
Java Virtual Machine
The runtime environment where Java bytecode is executed.
JRE
The Java Runtime Environment needed to run Java programs. JRE = JVM + Libraries + Other Components.
Java Development Kit JDK
The Java Development Kit needed to compile and run Java programs. JDK = JRE + Compilers + Debuggers.
Compiler
A program that converts Java source code into bytecode.
Integrated Development Environment
A software application that helps to develop Java code efficiently.
Eclipse IDE
An integrated development environment used by programmers to develop Java software.
Debugging
The process of identifying and fixing errors or bugs in a Java program.