Basic Concepts A Hello World Program Flashcards
Every program in java must have a____
Class
What is the use of JVM?
- Enables WORA(Write once run everywhere)
- A run-time engine that runs java
What is OOP?
Object Oriented Programming
What does OOP stands for?
Object Oriented Programming
Is Class user-defined or pre-defined?
User-defined.
Class includes____&____that are common to _____of one type.
methods ; properties; objects
Every program starts from a ___ method.
Main
What is the most basic signature of Main method to start a java program?
public static void main(String[]args)
What is the most basic signature of Main method to start a java program?
public static void main(String[]args)
-the parenthesis enclose parameters
What is other name of objects?
Instance
Static describes how ___is managed in___
objects ; memory
Static variables & methods is included in A but not B.
A: Class
B: instances
Static variables & methods is included in A but not B.
A: Class (belongs specifically in a class)
B: instances
Is void a method or class?
Method
What does void do?
Return no values