Posts

Showing posts from September, 2015

Featured Post

Time vocabulary cards

Image
Friends  I would like to share time cards to improve vocabulary Thanks

Primitive Data Types

Java - Basic Datatypes            Advertisements     -->          Previous Page     Next Page          Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory.    Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables.    There are two data types available in Java:       Primitive Data Types     Reference/Object Data Types   Primitive Data Types:    There are eight primitive data types supported by Java. Primitive data types are predefin...

Junit Assertions

JUnit - Using Assertion Advertisements Previous Page Next Page   Assertion All the assertion are in the Assert class. public class Assert extends java.lang.Object This class provides a set of assertion methods useful for writing tests. Only failed assertions are recorded. Some of the important methods of Assert class are: S.N. Methods & Description 1 void assertEquals(boolean expected, boolean actual) Check that two primitives/Objects are equal 2 void assertTrue(boolean expected, boolean actual) Check that a condition is true 3 void assertFalse(boolean condition) Check that a condition is false 4 void assertNotNull(Object object) Check that an object isn't null. 5 void assertNull(Object object) Check that an object is null 6 void assertSame(boolean condition) The assertSame() m...

URLS

Image
Teknosys Previous Page Next Page   Java.util package tutorial PDF Version Quick Guide Resources Job Search Discussion Java.util package contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes. This reference will take you through simple and practical methods available in java.util package. Audience This reference has been prepared for the beginners to help them understand the basic functionality related to all the methods available in Java.util package. Prerequisites Before you start doing practice with various types of examples given in this reference, I'm making an assumption that you are already aware of basic Java Programming. Previous Page Print PDF Next Page   Advertisements Teknosys Teknosys Previous Page Next Page   ...