Characters In Java
April 30, 2017Understanding Through Code public class CharacterInJava { public static void main( String[] args ){ char charVal1 = '1'; char charVal2... View Article
Understanding Through Code public class CharacterInJava { public static void main( String[] args ){ char charVal1 = '1'; char charVal2... View Article
Understanding Through Code public class BooleanInJava { static boolean staticBool; //Remember primitives are assigned defaults public static void main( String[]... View Article
Try out the code public class ConvertNumericVal { public static void main( String[] args ){ int intVal = 30; int... View Article
Java has 2 data types Primitives Objects Primitive Data Type Numbers, characters and booleans. Stored in fastest available memory —... View Article
What is a package? A package is a namespace concept which organizes a set of related interfaces and classes. It can... View Article
Remember String [] args ? This allows to pass values from console to Java application in the form of Strings.... View Article
Automatic Memory Management Objects are allocated memory automatically unlike in C or C++ Objects are created in Heap Memory. Heap... View Article
Java is defined in classes Each source file defines at least one java class that has the name same as... View Article
Principles of Java Simple Objected-Oriented Robust Methods, functions and properties Code in small chunks – easy to debug Portable High... View Article
How Java was born? Java started in 1991 – when Sun Microsystems began ‘Green Project’ Primary objective: A new portable language... View Article