Questions with Answers
on If-else
statement
Explain the If-else statement.
What are Boolean expressions and Boolean data type?
What are Relational and logical operators?
Explain De-Morgan’s laws.
Explain Short-circuit evaluation.
What are Nested if-else and if-else-if?
Explain switch statement.
What are Boolean expressions and Boolean data type?
What are Relational and logical operators?
Explain De-Morgan’s laws.
Explain Short-circuit evaluation.
What are Nested if-else and if-else-if?
Explain switch statement.
Questions with Answers on Classes, constructors, methods, and fields
Explain Overloaded
methods.
Explain the process of Creating objects with the new operator.
Explain the process of Creating objects with the new operator.
What are Static fields and methods?
What are Calling methods and accessing fields?
Explain Passing arguments to methods and constructors.
Explain return statement.
What are Public and private fields and methods?
Explain Encapsulation and information hiding in JAVA.
What are Calling methods and accessing fields?
Explain Passing arguments to methods and constructors.
Explain return statement.
What are Public and private fields and methods?
Explain Encapsulation and information hiding in JAVA.
No comments:
Post a Comment