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 …
Category: Professional
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 …
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 …
Dec 26
AutoFS and Mounting in Linux/Redhat/CentOS
AutoFS and Mounting in Linux/Redhat/CentOS echo “AutoFS – Automatic FS system Mounting – Dec 26th, 2017 by Sayed” check if Autofs installed or not yum list installed | grep autofs I just installed; hence it is there you can install with yum -y install autofs 944 yum -y install autofs then you can enable autofs …
Dec 26
On File Systems and Linux Commands (Redhat/CentOs/Fedora)
On File Systems and Linux Commands (Redhat/CentOs/Fedora) echo “Dec 26th, 2017, Sayed Ahmed, Justetc Technologies” On file Systems – Target Audience: Technical People. Software Developers and System/Network Administrators or DevOps (or wanna be) / and /boot are the default Linux file systems you can also configure /home, /opt, /var, /tmp, /usr as separate file systems …
Dec 25
Users and Groups management in Linux (Redhat/CentOS/Fedora)
Users and Groups management in Linux (Redhat/CentOS/Fedora) Target Audience: Technical people who knew or already know (to some extent) – just wanna review Yes, from my history 622 echo “dec 25th, 2017 – sayed” User and password related files 623 cat /etc/passwd 624 cat /etc/shadow 625 cat /etc/group 626 cat /etc/gshadow There are some …