An enum may NOT be declared in a method An enum can be imported If the JVM has a choice, it will select a method without varargs before selecting a method with varargs When enums are equal, both .equals and == always return true The headMap() method returns the portion of the map whose keys …
Category: Complete Courses
Jul 16
Java : SCJP: Important Resources #Java Short Notes #SCJP
How to use generics to avoid runtime errors. More Generics Class casting in Java: How to avoid runtime exception – ClassCastException: overloading, overriding, variable and method hiding Java HotSpot virtual machine What Java Technology can do? Offers from Java Technology Java:Common Problems (and Their Solutions) Benefits of OOP: Modularity, Information-hiding, Code re-use, Pluggability and debugging …
Jul 16
SCJP: Flow controls and exception #Java Short Notes #SCJP
Flow Control and ExceptionsFlow control statements Conditional: if, if-else and switch-case Looping: for, while, do-while Exception handling: try-catch-finally, throw Ad hoc flow control: break, continue with or without labels switch statement switch(expression){ case ConstantExpression: statement(s); case ConstantExpression: statement(s); . . . default: statement(s); } expression: must be char, byte, short, or int, or a compile-time …
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
SCJP: Language Fundamentals #Java Short Notes #SCJP
Class declaration and java source file. Only “one” top-level public class is allowed per java source file. The name of the java source file and the name of the top-level public class MUST be the same. If no public class is there in a file, after compiling separate class files will be created for all …
Jul 15
SCJP: Garbage Collection #Java Short Notes #SCJP
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 …
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 …
May 22
Android App: PMP – Project Management Lessons #Our Android Apps
Download and install from https://play.google.com/store/apps/details?id=com.sitestree.pmp This is an effort to provide free Lessons on PMP – Project Management Content: Short Notes on PMP Project Management Topics – Step by Step PMP Exam Resources PMP Quiz and Practice Exams will be added The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is …
May 21
Monitoring and Controlling Risks. Part – 5: Monitoring and Controlling #PMP – Project Management
Monitoring and Controlling Risks. Part – 5: Monitoring and Controlling This is a place holder. Contents will be added soon. Please note that we have more contents after couple of posts. Hence, please keep going. Later we have professional responsibilities, closing the project, PMP Resources, Project management Tool, Demo Quiz, Demo Exam, Misc knowledgebase, …