JAVA METHODS Flashcards
group of statements that
performs a specific task when
called in a program
➢ you can pass data(parameters)
into a method
➢ it can return a value
Java method
Built in methods in java that are ready to use
Standard Library method
The logical operator used to create a conditional expression which are true provided that one of the teo conditional expression is true?
A. “||”
B. &&
C. !
D. &
B ||
It is a collection of classes
A. Object
B. Method
C. Package
D. Libraries
Package
What is the equilavalent of expression of : y=pow(exp(n*log(b),2.0);
BASTA NONE
Solution stepbystep programming problem can be reffered to as ?
A. Pseudo code
B. Program
C. Algorithm
D. Flowchart
C. Algorithm
Which is a valid identifier?
A. 3yds
B. B_2
C. Else
D.x-100
B. /-2
Kasi ang pwede lang ay “_”,$”,
Which of the following will guve the result of 2.0?
A. 14/7
B. 14%5
C. 14/7.0
D. 14%7
C.
The data type of -37e+2 is
A. Char
B. Float
C. Int
D. exponential
B. Float
?? Is considered programming tool?
A. Flowcharting
B. Url
C. Hypertext Matkup Language
D. All if the bove
A. Flowcharting
Arithmetic Operation right to left
*, /, %, +, -
An interprise platform which is mainly use to develop wel n enterprise applications
A. JAVASE
B. JAVAEE
C. JAVA ME
D. JAVA FX
B. JAVA EE
It is used to load jaba classes into yhe JVM dynamically
A. Class loader
B. Byte verifier
C. Bytecode verifier
D. Security Manager
A.
The value of the controlling variable/Expression in the swutch statement should be of type ?
A. Int
B. Char
C. Float
D. None
A. Int
A switch staement is often used instead if a nested statement or a multiple alternative statements
A. True. B. False
C.
A.