Category Archives: Uncategorized

Chapter 21: Formatted Input /Output

Section 21.1: Conversion Specifiers for printing Conversion Specifier Type of Argument                                                        Description Note that length modifiers can be applied to %n (e.g. %hhn…
Continue reading

Grouping and Aggregates

¨  Can also perform grouping on a relation before computing aggregates 🞑 Specify a GROUP BY A1,A2,... clause at end of query ¨ …
Continue reading

Chapter 20: BigInteger

The BigInteger class is used for mathematical operations involving large integers with magnitudes too large for primitive data types. For example 100-factorial is…
Continue reading

Chapter 19: BigDecimal

The BigDecimal class provides operations for arithmetic (add, subtract, multiply, divide), scale manipulation, rounding, comparison, hashing, and format conversion. The BigDecimal represents immutable,…
Continue reading

Chapter 12: StringBuffer

Introduction to Java StringBuffer class. Section 12.1: String Buffer class Key Points: used to created mutable (modifiable) string. Mutable: Which can be changed.…
Continue reading

Chapter 11: Strings

Strings (java.lang.String) are pieces of text stored in your program. Strings are not a primitive data type in Java, however, they are very…
Continue reading

Chapter 10: Primitive Data Types

The 8 primitive data types byte, short, int, long, char, boolean, float, and double are the types that store most raw numerical data…
Continue reading

Chapter 9: Literals

A Java literal is a syntactic element (i.e. something you find in the source code of a Java program) that represents a value.…
Continue reading

Chapter 8: The Java Command – ‘java’ and ‘javaw’

Section 8.1: Entry point classes A Java entry-point class has a main method with the following signature and modifiers: public  static  void  main(String[]…
Continue reading

Chapter 7: Command line Argument Processing

Parameter                                                                            Details args The command line arguments. Assuming that the main method is invoked by the Java launcher, args will be non-null, and…
Continue reading