What is the use of underscore (_) and dollar($) in naming conventions in java?Īnswer: Underscore is useful for providing readability and dollar is useful for representing the inner classes.Īnswer: The process of converting lower range data type variable value to higher range data type variable value is called implicit castingĪnswer:The process of converting higher range data type variable value to lower range data type variable value with the support of cast operator is called explicit casting.Are true, false and null keywords or not?Īnswer: True, false and null are not keywords, these are literals.If the statement is single time executable statement then handover to interpreter otherwise the handover to JIT compiler. What the difference between path and classpath environment variables?Īnswer: Path is used to find out binary files location by command prompt, whereas classpath is used by compiler and JVM to find out location of library filesĪnswer: It is one special component in JVM, which is useful for recognize whether the statements are single time executable statement or looping statement.What is the difference between binary files and library file s?Īnswer: Binary files are useful for compilation, execution, and de-compilation, creating documentation and etc whereas library files are useful for developing new applications.1.18 Can we write static block within the method?.1.17 How many can we communicate with other class static data?.1.16 How many ways can able to call other class non-static data?.1.15 How many ways can we call same class static data?.1.14 Do we have anonymous arrays in java?.1.13 Can we able print array object values directly by using (-) statement?.1.11 What is the difference between parseBoolean(-) and nextBoolean(-)?.1.10 What is the difference between length field and length ()?. 1.9 Can we use variable argument as first parameter of method?.1.8 What is the difference between array and variable arguments (var args)?.1.5 What is the use of underscore (_) and dollar($) in naming conventions in java?.1.4 Are true, false and null keywords or not?.1.2 What the difference between path and classpath environment variables?.1.1 What is the difference between binary files and library files?.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |