This book includes 100 JAVA questions and answers, which can help Pass the interview exam Pass the engineer certification exam Pass the college exam Pass all JAVA programming language exams
Appendix JAVA Reference What is Java? Java Comments Output Commands Escaping Characters Java Keywords Data Types Create a Variable Arithmetical Operators Logical Operators Assignment Operators Comparison Operators Conditional Operator If Statement If-else Statement Switch Statement For Loop While Loop Do-While Loop Break Statement Continue Statement Boolean-Expression Create an Array (1) Create an Array (2) Array Length Element Value Sort Array Elements Math Methods Ceil ( ) & Floor ( ) Max ( ) & Min ( ) pow ( ) & sqrt ( ) Math.PI & random( ) String Length String Connection String Comparing Extract a Character Locate a Character Extract a Substring Case Change Character Replace String Type Change StringBuffer Method Method & Arguments Return Value Class Definition Object Declaration Constructor Overloading “this” Keyword (1) “this” Keyword (2) Instance & Local variable Inheritance “super” keyword Overriding Overloading & Overriding Static variable Static Method final Variable final Method( ) final class Polymorphism Package & Import Build a Package, Import a Class Abstract Permission Default Member Public Member Private Member Private Example Protected Member Interface Abstract & Interface Initializes Variables Another Class Exception Catch Exception (1) Catch Exception (2) Catch Exception (3) Finally Command Throw Exception Throws Exception File Class FileOutputStream FileInputStream Create Thread Thread’s Methods