Garbage Collection Java itself does memory management. You do not need to allocate memory at the time of object creation; also you do not need to free memory explicitly Object is created either on the heap or on a stack Memory heap: Objects created with new keyword are placed in heaps. This memory remains allocated …
Category: Java
Jul 15
SCJP: Classpath and Jar #Java Short Notes #SCJP #Blog
Java certification exams like SCJP test your knowledge about java classpath. Check here for an excellent resource on the topic . System classpath We can specify classpath in the command line or make use of a `system’ class path. The IDEs have their own way of maintaining class paths. System class paths will be used …
Jul 15
SCJP: Java Operators #Java Short Notes #SCJP
Exams like SCJP test your understanding of Java operators and how to use them like: assignment operators: =, +=, -=arithmetic operators: +, -, *, /, %, ++, —relational operators: < , , >=, ==, !=logical operators: &, |, ^, !, &&, ||conditional operators: ? : Also operators to check the equality of two objects or …
Jul 15
JAVA: Some links: useful for exams like scjp/scja #Java Short Notes #SCJP #Blog
Assertions in Java: http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html Enum in Java:http://www.java2s.com/Code/Java/Language-Basics/Enum.htmStringBuffer and StringBuilder Classes have similar methods where StringBuffer is synchronized: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/StringBuilder.htmlSerialize and Deserialize: http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.htmljava.util package is very important: http://java.sun.com/j2se/1.4.2/docs/api/java/util/package-summary.html From: http://sitestree.com/?p=4845 Categories:Java Short Notes, SCJP, BlogTags: Post Data:2013-06-11 18:38:25 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net …
Mar 10
Pretty Simple Java Code #SCJP
/** * The HelloWorldApp class implements an application that * simply prints “Hello World!” to standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println(“Hello Worlld”); } } class ArrayDemo { public static void main(String[] args) { // declares an array of integers int[] anArray; int[] theArray; // allocates memory for 10 …
Mar 10
SCJP: Sun Certified Java Programmer: All that you need to know #SCJP
Introduction to Sun Certified Java Programmer Certification Course Java : SCJP: Important Resources JAVA: Some links: useful for exams like scjp/scja SCJP Essential Knowledge SCJP Practice Exams SCJP Training: Lesson 1: Develop code that declares classes (including abstract and all forms of nested classes), interfaces, and enums, and includes the appropriate use of package and …
Mar 10
SCJP: Topics and Resources : will be continued #SCJP
SCJP topics and related resources are provided. I have skimed through the resources at least one time. Garbage Collection Test area:Given a code example, recognize the point at which an object becomes eligible for garbage collection, determine what is and is not guaranteed by the garbage collection system, and recognize the behaviors of the Object.finalize() …
Mar 10
SCJP: Java Operators #SCJP
By Sayed Exams like SCJP test your understanding of Java operators and how to use them like: assignment operators: =, +=, -= arithmetic operators: +, -, *, /, %, ++, — relational operators: <, <=, >, >=, ==, != logical operators: &, |, ^, !, &&, || conditional operators: ? : Also operators to check …