Which statement is true about Java?
a) Java is a sequence-dependent programming language b) Java is a code dependent programming language c) Java is a platform-dependent programming language d) Java is a platform-independent programming language Answer d) Java is a platform-independent
Prototype of a function means _____
a) Name of the function b) signature of the function c) Declaration of function d) Input/output of the function Answer b) signature of the function
Which one is a template for creating different objects?
a) An array b) A class c) Interface d) Method Answer: b) A class
Which keyword is used for accessing the features of a package?
a) package b) Import c) Extends d) Export Answer: b) Import
Which statement is true regarding an object?
a) package b) Import c) Extends d) Export Answer b) Import
In Java control statements break, continue, return, try-catch-finally, and assert belong to?
a) Select statements b) Loop Statements c) Transfer statements d) Pause Statement Answer c) Transfer statements
CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS
My students are the presents from God to me
Do you want to learn
Hey, I’m Aniket. I’m determined to make you one of the best developers in the history of Information technology.
My only question is, are you ready?